[Inspection Gadgets] Small Bug?
The following code gives me a "Unecessary Unboxing":
public int compare( Contact contact0, Contact contact1 ) {
return new Long( contact0.getId() ).compareTo( contact1.getId() );
}
But removing the "new Long" does not work.
Johannes Schneider
Please sign in to leave a comment.
Definitely a bug. Please submit a JIRA item.
--Dave Griffith