From 5dc30db56e2542ccd1365b069c66c0177a8185ee Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 30 Dec 2016 01:19:58 +0100 Subject: [PATCH] [findBugs] PackWriter.NONE should be final Change-Id: I4b5621bcb4db82e0560408b3cde6f18b0cc55b29 Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/internal/storage/pack/PackWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java index 8b4d2e6d35..a5764be4d7 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java @@ -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 NONE = Collections.emptySet(); + public static final Set NONE = Collections.emptySet(); private static final Map, Boolean> instances = new ConcurrentHashMap, Boolean>(); -- 2.39.5