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
|
|
@ -419,7 +419,7 @@ public final class MicroCache2 extends MicroCache {
|
|||
nlinks++;
|
||||
|
||||
if (isInternal) {
|
||||
int nodeIdx = idx.intValue();
|
||||
int nodeIdx = idx;
|
||||
if (dodebug) System.out.println("*** target nodeIdx=" + nodeIdx);
|
||||
if (nodeIdx == n) throw new RuntimeException("ups: self ref?");
|
||||
nodeIdxDiff.encodeSignedValue(nodeIdx - n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue