jgit/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server
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>
2019-10-17 10:20:14 +09:00
..
fs Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
internal LfsGson: Remove unnecessary @since tag 2018-12-20 08:33:43 +09:00
s3 Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
LargeFileRepository.java Remove unnecessary modifiers from interfaces 2018-11-20 16:18:44 -08:00
LfsObject.java Fix javadoc in org.eclipse.jgit.lfs.server 2017-12-17 20:59:24 +01:00
LfsProtocolServlet.java Deprecate Constants.CHARSET in favor of StandardCharsets.UTF_8 2018-09-04 10:53:10 +09:00
Response.java Fix remaining javadoc errors raised by doclint 2017-12-21 02:42:14 +01:00
TransferHandler.java Consistently use "!isEmpty()" to detect non-empty list 2019-06-07 12:12:44 +09:00