]> source.dussan.org Git - jgit.git/commitdiff
[findBugs] PackWriter.NONE should be final 18/87818/1
authorMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Dec 2016 00:19:58 +0000 (01:19 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 30 Dec 2016 00:19:58 +0000 (01:19 +0100)
Change-Id: I4b5621bcb4db82e0560408b3cde6f18b0cc55b29
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java

index 8b4d2e6d358747dfe6b05ca180dff60a96b1f1e4..a5764be4d76c40e07c4aafaef529661baa3dc9d0 100644 (file)
@@ -164,7 +164,7 @@ public class PackWriter implements AutoCloseable {
        private static final int PACK_VERSION_GENERATED = 2;
 
        /** Empty set of objects for {@code preparePack()}. */
-       public static Set<ObjectId> NONE = Collections.emptySet();
+       public static final Set<ObjectId> NONE = Collections.emptySet();
 
        private static final Map<WeakReference<PackWriter>, Boolean> instances =
                        new ConcurrentHashMap<WeakReference<PackWriter>, Boolean>();