Skip to content

Remove redundant throws from Java close() methods#1371

Draft
bestbeforetoday wants to merge 1 commit intohyperledger:mainfrom
bestbeforetoday:java-throws
Draft

Remove redundant throws from Java close() methods#1371
bestbeforetoday wants to merge 1 commit intohyperledger:mainfrom
bestbeforetoday:java-throws

Conversation

@bestbeforetoday
Copy link
Member

A close() imlementation that never throws an exception does not need to declare that one might be thrown, even if the corresponding method in an implemented interface does declare an exception might be thrown.

A close() imlementation that never throws an exception does not need to
declare that one might be thrown, even if the corresponding method in an
implemented interface does declare an exception might be thrown.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
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