aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-28 17:10:04 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-08-28 21:46:37 +0200
commit71eb7921485692e7520258a929b1b378c7a69691 (patch)
tree0104871b0b60944a73d95384f3dbb5b414804e55 /org.eclipse.jgit.test/tst
parent29fa0e5dee3c7e080ba028a9b4c3fe5d4a3c9aa5 (diff)
downloadjgit-71eb7921485692e7520258a929b1b378c7a69691.tar.gz
jgit-71eb7921485692e7520258a929b1b378c7a69691.zip
PackExtBlockCacheTableTest: fix empty block warning
Change-Id: I35e7527c6c555cd57fce14889412fa2fd6beab88
Diffstat (limited to 'org.eclipse.jgit.test/tst')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/PackExtBlockCacheTableTest.java2
1 files changed, 2 insertions, 0 deletions
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(