lucenenet icon indicating copy to clipboard operation
lucenenet copied to clipboard

Either remove or fill this block of code

Open nikcio opened this issue 3 years ago • 2 comments

Mentioned in #648

Issues found: https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS108&id=apache_lucenenet

The comment associated with the line can be moved inside of the curly brackets to make it non-empty. If there is no comment, just add // LUCENNET: intentionally empty. Exception: empty finally blocks - we can remove the entire try/finally out of the methods in JavascriptLexer. Leave a comment // LUCENENET specific - removed unnecessary try/finally block in each method where they are removed.

nikcio avatar Oct 15 '22 19:10 nikcio

Hmm...the SonarCloud link is not returning any results.

NightOwl888 avatar Oct 15 '22 19:10 NightOwl888

Should be fixed now

nikcio avatar Oct 15 '22 19:10 nikcio