Enable PMD rule UnnecessaryBoxing and fix violations
This commit is contained in:
parent
dd896347a2
commit
c73a8cebb8
6 changed files with 30 additions and 34 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue