David Pursehouse
98cdca9b5a
Enable and fix "Statement unnecessarily nested within else clause" warnings
Since [1] the gerrit project includes jgit as a submodule, and has this warning enabled, resulting in 100s of warnings in the console. Also enable the warning here, and fix them. At the same time, add missing braces around adjacent and nearby one-line blocks. [1] https://gerrit-review.googlesource.com/c/gerrit/+/227897 Change-Id: I81df3fc7ed6eedf6874ce1a3bedfa727a1897e4c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com> |
hace 4 años | |
---|---|---|
.. | ||
AccessEvent.java | Remove further unnecessary 'final' keywords | hace 6 años |
AppServer.java | Enable and fix "Statement unnecessarily nested within else clause" warnings | hace 4 años |
HttpTestCase.java | HttpTestCase#fsck: Open TestRepository in try-with-resource | hace 5 años |
MockServletConfig.java | Fix javadoc in org.eclipse.jgit.junit.http | hace 6 años |
RecordingLogger.java | Remove 'final' in parameter lists | hace 6 años |
SimpleHttpServer.java | Convert to lambda or member reference | hace 5 años |
TestRequestLog.java | Configure Semaphore used in TestRequestLog to be fair | hace 6 años |