Suppress boxing warnings in tests

Change-Id: I56731862b0955286f86b1c0699d75313eb192fdf
This commit is contained in:
Matthias Sohn 2023-08-31 14:45:36 +02:00
parent 35b5344c9e
commit 02b45a844c
2 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,7 @@ private static class TestPackLoadListener implements PackLoadListener {
int blockLoadCount;
@SuppressWarnings("boxing")
@Override
public void onIndexLoad(String packName, PackSource src, PackExt ext,
long size, Object loadedIdx) {

View File

@ -229,6 +229,7 @@ public void packLoadListener_has_repeatedCalls_openMultipleIndices() throws IOEx
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) {