diff options
author | Fabio Ponciroli <ponch78@gmail.com> | 2022-02-07 19:30:01 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-03-02 16:32:34 +0100 |
commit | 889b82f0e5b2d6dc7ea82eca3ba13598917877f2 (patch) | |
tree | 0f55a4c6fdca1c516b6d36f2af8fae032725d100 | |
parent | c543b8ee1a8c2e265c08688ff495933204819828 (diff) | |
download | jgit-889b82f0e5b2d6dc7ea82eca3ba13598917877f2.tar.gz jgit-889b82f0e5b2d6dc7ea82eca3ba13598917877f2.zip |
Remove ignored potentiallyUnclosedCloseable check
potentiallyUnclosedCloseable currently is not checked and it creates
a warning when compiling with Maven.
Change-Id: I0715ead433270937f77f56a19aa203f8d6f5322f
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTest.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTest.java index bacd3ba0a2..ab588cb71e 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheTest.java @@ -269,7 +269,6 @@ public class DfsBlockCacheTest { assertEquals(1, evicted.get()); } - @SuppressWarnings("resource") @Test public void noConcurrencySerializedReads_oneRepo() throws Exception { InMemoryRepository r1 = createRepoWithBitmap("test"); @@ -384,7 +383,6 @@ public class DfsBlockCacheTest { assertEquals(2, cache.getMissCount()[0]); } - @SuppressWarnings("resource") @Test public void highConcurrencyParallelReads_oneRepo() throws Exception { InMemoryRepository r1 = createRepoWithBitmap("test"); @@ -407,7 +405,6 @@ public class DfsBlockCacheTest { assertEquals(1, cache.getMissCount()[0]); } - @SuppressWarnings("resource") @Test public void highConcurrencyParallelReads_oneRepoParallelReverseIndex() throws Exception { |