Suppress boxing warnings in tests
Change-Id: I56731862b0955286f86b1c0699d75313eb192fdf
This commit is contained in:
parent
35b5344c9e
commit
02b45a844c
|
@ -139,6 +139,7 @@ private static class TestPackLoadListener implements PackLoadListener {
|
||||||
|
|
||||||
int blockLoadCount;
|
int blockLoadCount;
|
||||||
|
|
||||||
|
@SuppressWarnings("boxing")
|
||||||
@Override
|
@Override
|
||||||
public void onIndexLoad(String packName, PackSource src, PackExt ext,
|
public void onIndexLoad(String packName, PackSource src, PackExt ext,
|
||||||
long size, Object loadedIdx) {
|
long size, Object loadedIdx) {
|
||||||
|
|
|
@ -229,6 +229,7 @@ public void packLoadListener_has_repeatedCalls_openMultipleIndices() throws IOEx
|
||||||
private static class CounterPackLoadListener implements PackLoadListener {
|
private static class CounterPackLoadListener implements PackLoadListener {
|
||||||
final Map<PackExt, Integer> callsPerExt = new HashMap<>();
|
final Map<PackExt, Integer> callsPerExt = new HashMap<>();
|
||||||
|
|
||||||
|
@SuppressWarnings("boxing")
|
||||||
@Override
|
@Override
|
||||||
public void onIndexLoad(String packName, PackSource src, PackExt ext, long size,
|
public void onIndexLoad(String packName, PackSource src, PackExt ext, long size,
|
||||||
Object loadedIdx) {
|
Object loadedIdx) {
|
||||||
|
|
Loading…
Reference in New Issue