]> source.dussan.org Git - jgit.git/commitdiff
PackExtBlockCacheTableTest: fix empty block warning 46/1200146/1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 28 Aug 2024 15:10:04 +0000 (17:10 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 28 Aug 2024 19:46:37 +0000 (21:46 +0200)
Change-Id: I35e7527c6c555cd57fce14889412fa2fd6beab88

org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java

index d904946226d27b5af0c3c712459f96dc650d8d82..8c003e0cb35f519e16fb6fb19bb2a04043398658 100644 (file)
@@ -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(