From: Matthias Sohn Date: Wed, 28 Aug 2024 15:10:04 +0000 (+0200) Subject: PackExtBlockCacheTableTest: fix empty block warning X-Git-Tag: v7.0.0.202409031743-r~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F1200146%2F1;p=jgit.git PackExtBlockCacheTableTest: fix empty block warning Change-Id: I35e7527c6c555cd57fce14889412fa2fd6beab88 --- diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java index d904946226..8c003e0cb3 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java @@ -95,6 +95,7 @@ public class PackExtBlockCacheTableTest { throws Exception { BlockBasedFile blockBasedFile = new BlockBasedFile(null, mock(DfsPackDescription.class), PackExt.BITMAP_INDEX) { + // empty }; DfsBlock dfsBlock = mock(DfsBlock.class); DfsBlockCacheTable defaultBlockCacheTable = mock( @@ -125,6 +126,7 @@ public class PackExtBlockCacheTableTest { throws Exception { BlockBasedFile blockBasedFile = new BlockBasedFile(null, mock(DfsPackDescription.class), PackExt.PACK) { + // empty }; DfsBlock dfsBlock = mock(DfsBlock.class); DfsBlockCacheTable defaultBlockCacheTable = mock(