summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-09-22 13:44:11 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-09-25 22:06:12 +0200
commite5e54b61b4273d22d1a5d71c5c5033040eaaa08d (patch)
treed8dcacbecb4600f573ec3295e66c0e2255a7acce
parent37f60c7984633cfe3dd3279462cb4c00bc37514e (diff)
downloadjgit-e5e54b61b4273d22d1a5d71c5c5033040eaaa08d.tar.gz
jgit-e5e54b61b4273d22d1a5d71c5c5033040eaaa08d.zip
[errorprone] PageRef#isStringRef: suppress UnusedMethod
See https://errorprone.info/bugpattern/UnusedMethod Change-Id: I8c2ca60ac786e20edb7112c268d638aa2488bcb8
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java1
1 files changed, 1 insertions, 0 deletions
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 81537dd46c..1045de4b17 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 @@ public class WindowCache {
* Whether this is a strong reference.
* @return {@code true} if this is a strong reference
*/
+ @SuppressWarnings("unused")
boolean isStrongRef();
}