]> source.dussan.org Git - jgit.git/commitdiff
[errorprone] Suppress FutureReturnValueIgnored in FileRepository#autoGc 72/189572/2
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 12 Jan 2022 00:52:26 +0000 (01:52 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 18 Jan 2022 15:11:50 +0000 (16:11 +0100)
Ignore the FutureReturnValueIgnored warning for the unused return value
of #gc.

Change-Id: I4e7a2f85d404962c01726f9a1d079fe4a6430a1b

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/FileRepository.java

index 9cdea597f924aa078a0af9cfd723c2fce9923195..53a1cd63907d460370db77a2270c80a452948c4a 100644 (file)
@@ -594,6 +594,7 @@ public class FileRepository extends Repository {
        }
 
        /** {@inheritDoc} */
+       @SuppressWarnings("FutureReturnValueIgnored")
        @Override
        public void autoGC(ProgressMonitor monitor) {
                GC gc = new GC(this);