jenkins icon indicating copy to clipboard operation
jenkins copied to clipboard

Fix issue S1130 Exceptions in 'throws' clauses should not be superfluous

Open jlerbsc opened this issue 11 months ago • 1 comments

The aim of this RP is to remove violations of the Sonar rule S1130 Exceptions in 'throws' clauses should not be superfluous.

Superfluous exceptions within throws clauses have negative effects on the readability and maintainability of the code. An exception in a throws clause is superfluous if it is:

  • listed multiple times
  • a subclass of another listed exception
  • not actually thrown by any execution path of the method (This case is not currently supported by Indepth)

These changes have been made automatically by our "Indepth" java code remediation solution, which aims to improve code quality. You can also use it periodically to remove issues that have appeared in the source code. Use of this solution is free for all open source projects. You can find all the documentation and the download link on the site https://www.indepth.fr/

jlerbsc avatar Mar 25 '24 13:03 jlerbsc

Hey! Hi @MarkEWaite i made a PR(#9623) for validatingIconSize Method in the Functions.java file i know my PR does not pass all the checks I tried a lot but am unable to figure out the problem so, it would be helpful once you review it and provide me with feedback.

ArvindReddySheelam avatar Aug 16 '24 14:08 ArvindReddySheelam