mirror of https://github.com/apache/cloudstack.git
findbugs equals on same type of objects
This commit is contained in:
parent
02bdb28d76
commit
41fd0a2ab7
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue