From 00bb7cc9a5bb1627c3ef8f2e4a5886e79afba189 Mon Sep 17 00:00:00 2001 From: Fabio Ponciroli Date: Thu, 3 Feb 2022 09:49:13 +0100 Subject: [PATCH] Remove SuppressWarnings since currently ignored 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 --- .../jgit/internal/storage/file/FileReftableStackTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableStackTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableStackTest.java index 98e4b3e1b3..6c7992716c 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableStackTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/FileReftableStackTest.java @@ -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. -- 2.39.5