Enable PMD rule PrimitiveWrapperInstantiation and fix violations
This commit is contained in:
parent
7a6d3bd9d9
commit
28f205c1ad
12 changed files with 20 additions and 21 deletions
|
|
@ -17,7 +17,7 @@ public class SuspectInfo {
|
|||
public int triggers;
|
||||
|
||||
public static void addSuspect(Map<Long, SuspectInfo> map, long id, int prio, int trigger) {
|
||||
Long iD = Long.valueOf(id);
|
||||
Long iD = id;
|
||||
SuspectInfo info = map.get(iD);
|
||||
if (info == null) {
|
||||
info = new SuspectInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue