diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-08-31 14:45:36 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-08-31 14:45:36 +0200 |
commit | 02b45a844c71b8fbc22423ea551c7461a1d12bff (patch) | |
tree | 2cf91d9d3466bc5eaa252d49c5db1258adacf513 /org.eclipse.jgit.test | |
parent | 35b5344c9e8d7da4da3fa40ef021c1e8936619e8 (diff) | |
download | jgit-02b45a844c71b8fbc22423ea551c7461a1d12bff.tar.gz jgit-02b45a844c71b8fbc22423ea551c7461a1d12bff.zip |
Suppress boxing warnings in tests
Change-Id: I56731862b0955286f86b1c0699d75313eb192fdf
Diffstat (limited to 'org.eclipse.jgit.test')
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java | 1 | ||||
-rw-r--r-- | org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java index 82fc56347e..77e5b7cb14 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java @@ -139,6 +139,7 @@ public class DfsPackFileTest { int blockLoadCount; + @SuppressWarnings("boxing") @Override public void onIndexLoad(String packName, PackSource src, PackExt ext, long size, Object loadedIdx) { diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java index 918f388058..eb8ceecd81 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java @@ -229,6 +229,7 @@ public class DfsReaderTest { private static class CounterPackLoadListener implements PackLoadListener { final Map<PackExt, Integer> callsPerExt = new HashMap<>(); + @SuppressWarnings("boxing") @Override public void onIndexLoad(String packName, PackSource src, PackExt ext, long size, Object loadedIdx) { |