findbugs equals on same type of objects

This commit is contained in:
Daan Hoogland 2014-01-30 22:58:52 +01:00
parent 02bdb28d76
commit 41fd0a2ab7
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ public class SObjectItemVO {
}
if (theObject.getId() != null) {
if (!theObject.getId().equals(((SObjectItemVO)other).getTheObject()))
if (!theObject.getId().equals(((SObjectItemVO)other).getTheObject().getId()))
return false;
} else {
if (((SObjectItemVO)other).getTheObject() != null)