E537 Remove unnecessary "throws" statement in model methods by ptziegler · Pull Request #802 · eclipse-windowbuilder/windowbuilder · GitHub
[go: up one dir, main page]

Skip to content

Remove unnecessary "throws" statement in model methods#802

Merged
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:cleanup-signatures
Jun 19, 2024
Merged

Remove unnecessary "throws" statement in model methods#802
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:cleanup-signatures

Conversation

@ptziegler
Copy link
Contributor

This removes the "throws Exception" section from several methods of our data model where no exception is thrown. Doings so avoids having to explicitly wrap those method calls in a try-catch block, even though an exception can't occur.

@ptziegler ptziegler added this to the 1.17.0 milestone Jun 17, 2024
@ptziegler ptziegler force-pushed the cleanup-signatures branch from ac782bd to 9b84e5e Compare June 17, 2024 19:39
@ptziegler
Copy link
Contributor Author

Required for #794

This removes the "throws Exception" section from several methods of our
data model where no exception is thrown. Doings so avoids having to
explicitly wrap those method calls in a try-catch block, even though an
exception can't occur.
@ptziegler ptziegler force-pushed the cleanup-signatures branch from 9b84e5e to d72e150 Compare June 17, 2024 19:45
@ptziegler ptziegler merged commit 358c73f into eclipse-windowbuilder:master Jun 19, 2024
@ptziegler ptziegler deleted the cleanup-signatures branch June 19, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0