summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2022-01-12 01:52:26 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2022-01-18 16:11:50 +0100
commit2fed62528a598a16bb9c5cd1df861aa8ab7f820a (patch)
tree341d51320b10475ab774f18e9d6300c54c122044
parent1e932c2e5289e965dea0314b230b6d3d94ea3bdb (diff)
downloadjgit-2fed62528a598a16bb9c5cd1df861aa8ab7f820a.tar.gz
jgit-2fed62528a598a16bb9c5cd1df861aa8ab7f820a.zip
[errorprone] Suppress FutureReturnValueIgnored in FileRepository#autoGc
Ignore the FutureReturnValueIgnored warning for the unused return value of #gc. Change-Id: I4e7a2f85d404962c01726f9a1d079fe4a6430a1b
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
index 9cdea597f9..53a1cd6390 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java
@@ -594,6 +594,7 @@ public class FileRepository extends Repository {
}
/** {@inheritDoc} */
+ @SuppressWarnings("FutureReturnValueIgnored")
@Override
public void autoGC(ProgressMonitor monitor) {
GC gc = new GC(this);