]> source.dussan.org Git - jgit.git/commitdiff
Suppress boxing warnings in tests 00/204000/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 31 Aug 2023 12:45:36 +0000 (14:45 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 31 Aug 2023 12:45:36 +0000 (14:45 +0200)
Change-Id: I56731862b0955286f86b1c0699d75313eb192fdf

org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackFileTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsReaderTest.java

index 82fc56347edb92cef26e0260433a3500fee7161b..77e5b7cb14814b4a3b29218d206d534b5bec52e5 100644 (file)
@@ -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) {
index 918f388058115081b6c49d8fb3bd4780ef44410c..eb8ceecd813533ac5e4271926addd0e04c3c33f5 100644 (file)
@@ -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) {