diff --git a/src/main/java/io/usethesource/vallang/io/binary/util/CacheFactory.java b/src/main/java/io/usethesource/vallang/io/binary/util/CacheFactory.java index fd623200..6a2cf9e6 100644 --- a/src/main/java/io/usethesource/vallang/io/binary/util/CacheFactory.java +++ b/src/main/java/io/usethesource/vallang/io/binary/util/CacheFactory.java @@ -134,7 +134,7 @@ public void put(int size, T returned) { private static final ConcurrentLinkedQueue>> CLEANUP_CACHES = new ConcurrentLinkedQueue<>(); - @SuppressWarnings("argument") // passed in reference might not be completly initialized + @SuppressWarnings({"argument", "arguments"}) // passed in reference might not be completly initialized private static void registerInstance(@UnknownInitialization CacheFactory cache) { CLEANUP_CACHES.add(new WeakReference<>(cache)); }