]> source.dussan.org Git - jgit.git/commitdiff
Remove SuppressWarnings since currently ignored 57/190357/13
authorFabio Ponciroli <ponch78@gmail.com>
Thu, 3 Feb 2022 08:49:13 +0000 (09:49 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 22 Feb 2022 22:21:28 +0000 (23:21 +0100)
The following warning was raised by Eclipse:
"At least one of the problems in category
'unused' is not analysed due to a compiler option being ignored"

The org.eclipse.jdt.core.compiler.problem.unusedTypeParameter compiler
option is set to ignore, hence the warning suppression is redundant.

Change-Id: I5fd6efc9968be133c71e95c53803c44310d75e85

org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableStackTest.java

index 98e4b3e1b3ca1f4bf6ee8938136752976959bbf3..6c7992716ca3537e4b901550eaf16ed54208d672 100644 (file)
@@ -118,7 +118,7 @@ public class FileReftableStackTest {
                testCompaction(1024);
        }
 
-       @SuppressWarnings({ "resource", "unused" })
+       @SuppressWarnings("resource")
        @Test
        public void missingReftable() throws Exception {
                // Can't delete in-use files on Windows.