Suspicious comparison of Integer references
850392Mar 25 2011 — edited Mar 28 2011I ma using Find bugs tool, getting follwoing error Suspicious comparison of Integer references, can you please inform me how to resolve this?
public boolean equals(Object o) {
if (o == null) {
return false;
}
return (this.orderNbr == (((ProductCategoryType) o).orderNbr));
}