From e5e54b61b4273d22d1a5d71c5c5033040eaaa08d Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Fri, 22 Sep 2023 13:44:11 +0200 Subject: [PATCH] [errorprone] PageRef#isStringRef: suppress UnusedMethod See https://errorprone.info/bugpattern/UnusedMethod Change-Id: I8c2ca60ac786e20edb7112c268d638aa2488bcb8 --- .../src/org/eclipse/jgit/internal/storage/file/WindowCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java index 81537dd46..1045de4b1 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java @@ -848,6 +848,7 @@ private static interface PageRef { * Whether this is a strong reference. * @return {@code true} if this is a strong reference */ + @SuppressWarnings("unused") boolean isStrongRef(); }