JohnathonNow / Bending

A 2D, multiplayer online action game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Great Refactoring: 469 Linter Warnings

JohnathonNow opened this issue · comments

Sonar-lint reports almost 500 warnings, which is... bad. Any PRs that cut that down at all are greatly appreciated, so long as you don't open like, 40 to fix one each.

Hello, I would like to help you, can I assign myself?

Thanks very much!

Can you to share the report generate by Sonar Lint.
According to the analysis carried out on my machine there are 2446 issues

Sorry, I've only been using the sonar-lint extension built into VS Code and am not sure how to copy out its report. But it appears the 469 issues were only within the files I had open. Oof.

I'm game to work on the linter issues, I'll start with sonar-lint's java:S1604 "Anonymous inner classes containing only one method should become lambdas", there's at least 22 in src/ui/ClothingChooser1.java (and I'll dig for others in the source tree)

I definitely have not tackled all the issues, but pull request number 40 should help make some progress. I may still try to knock out some more, time permitting. (trying not to get this automatically linked to the request so that it doesn't chance automatically closing this issue, because it's only a partial fix)