Redundant jump statements #684
Labels
good-first-issue
Good for newcomers
hacktoberfest-accepted
is:enhancement
New feature or request
up-for-grabs
This issue is open to be worked on by anyone
Mentioned in #648
Issues found: https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS3626&id=nikcio_lucenenet
When there are
return
statements at the end of a method, we should comment them out in the source code and leave a// LUCENENET:
comment after them why they were removed. A link to a related Code Analysis rule (preferred) or SonarCloud issue is fine.For
continue
statements`, we should leave these as-is and add the necessary suppression to keep this issue from being detected by code analysis.The text was updated successfully, but these errors were encountered: