]> source.dussan.org Git - jgit.git/commit
PackWriter: Make internal class static 78/143178/4
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Jun 2019 08:45:32 +0000 (17:45 +0900)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 6 Jun 2019 15:15:10 +0000 (17:15 +0200)
commit84c315b2a09b70904259628bfeb8dd002f954f77
tree4f74418ea9f5f3941d682be5b8ee83ca1c865a0e
parentd9c569b74725b4ffe9fa085ff1542b619cbcf4ce
PackWriter: Make internal class static

When Error Prone checks are enabled, the "ClassCanBeStatic" warning is
triggered:

  Inner class is non-static but does not reference enclosing class
  see https://errorprone.info/bugpattern/ClassCanBeStatic

Change-Id: I5a0e3bf0cf8c28176d9c98914c1c0dfab9c5736f
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java