aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2024-08-28 16:09:38 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2024-08-28 21:46:37 +0200
commitf5f19b7c25c06cff336c679ac36946d3f521980c (patch)
treedf9df54abd6a7eaf3afbe49e784eccf83dbcea44 /org.eclipse.jgit.test/tst/org/eclipse/jgit/internal
parent9627ee84ed4086cee51131cfd980aef0dbf33f9c (diff)
downloadjgit-f5f19b7c25c06cff336c679ac36946d3f521980c.tar.gz
jgit-f5f19b7c25c06cff336c679ac36946d3f521980c.zip
DfsBlockCacheConfigTest: suppress boxing warning on test class
Change-Id: Ibe7edc5e53c3d467e0e6144a3f8a32989f1ac6af
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/internal')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java
index 6ca0ff6a16..c93f48d79c 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfigTest.java
@@ -61,6 +61,7 @@ import org.eclipse.jgit.internal.storage.pack.PackExt;
import org.eclipse.jgit.lib.Config;
import org.junit.Test;
+@SuppressWarnings("boxing")
public class DfsBlockCacheConfigTest {
@Test
@@ -71,7 +72,6 @@ public class DfsBlockCacheConfigTest {
}
@Test
- @SuppressWarnings("boxing")
public void negativeBlockSizeIsConvertedToDefault() {
DfsBlockCacheConfig config = new DfsBlockCacheConfig();
config.setBlockSize(-1);
@@ -80,7 +80,6 @@ public class DfsBlockCacheConfigTest {
}
@Test
- @SuppressWarnings("boxing")
public void tooSmallBlockSizeIsConvertedToDefault() {
DfsBlockCacheConfig config = new DfsBlockCacheConfig();
config.setBlockSize(10);
@@ -89,7 +88,6 @@ public class DfsBlockCacheConfigTest {
}
@Test
- @SuppressWarnings("boxing")
public void validBlockSize() {
DfsBlockCacheConfig config = new DfsBlockCacheConfig();
config.setBlockSize(65536);