Enable PMD rule UnnecessaryBoxing and fix violations

This commit is contained in:
Manuel Fuhr 2024-04-03 14:50:05 +02:00
parent dd896347a2
commit c73a8cebb8
6 changed files with 30 additions and 34 deletions

View file

@ -34,7 +34,7 @@ public class DenseLongMapTest {
long k = (long) (rand.nextDouble() * keyrange);
Long KK = k;
Integer VV = hmap.get(KK);
int hvalue = VV == null ? -1 : VV.intValue();
int hvalue = VV == null ? -1 : VV;
int dvalue = dmap.getInt(k);
if (hvalue != dvalue) {