You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/01/30 22:58:58 UTC
git commit: updated refs/heads/master to 41fd0a2
Updated Branches:
refs/heads/master 02bdb28d7 -> 41fd0a2ab
findbugs equals on same type of objects
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/41fd0a2a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/41fd0a2a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/41fd0a2a
Branch: refs/heads/master
Commit: 41fd0a2ab7450005da574002d04d58971f32f47e
Parents: 02bdb28
Author: Daan Hoogland <da...@onecht.net>
Authored: Thu Jan 30 22:58:52 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Thu Jan 30 22:58:52 2014 +0100
----------------------------------------------------------------------
awsapi/src/com/cloud/bridge/model/SObjectItemVO.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/41fd0a2a/awsapi/src/com/cloud/bridge/model/SObjectItemVO.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/cloud/bridge/model/SObjectItemVO.java b/awsapi/src/com/cloud/bridge/model/SObjectItemVO.java
index 5eada3c..77077c6 100644
--- a/awsapi/src/com/cloud/bridge/model/SObjectItemVO.java
+++ b/awsapi/src/com/cloud/bridge/model/SObjectItemVO.java
@@ -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)