-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce Throwable to Exception in JavaSnippet
Tests are allowed to fail by throwing an(y) exception. As such #318 added `throws Throwable` to the JavaSnippet. Aside from being a bad practice this results in unnecessary checkstyle warnings. As such the generated snippet should not explicitly declare `Throwable`. Reducing `Throwable` to `Exception` should be sufficient. Fixes #1207
- Loading branch information
1 parent
0ea7b43
commit f998151
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters