Code Review
/
appc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Sonar Blocker
[appc.git]
/
appc-common
/
src
/
main
/
java
/
org
/
openecomp
/
appc
/
util
/
StructuredPropertyHelper.java
diff --git
a/appc-common/src/main/java/org/openecomp/appc/util/StructuredPropertyHelper.java
b/appc-common/src/main/java/org/openecomp/appc/util/StructuredPropertyHelper.java
index
2f292bc
..
dc40b63
100644
(file)
--- a/
appc-common/src/main/java/org/openecomp/appc/util/StructuredPropertyHelper.java
+++ b/
appc-common/src/main/java/org/openecomp/appc/util/StructuredPropertyHelper.java
@@
-219,6
+219,11
@@
public class StructuredPropertyHelper {
*/
@Override
public boolean equals(Object obj) {
+ if (obj == null)
+ return false;
+ if (this.getClass() != obj.getClass())
+ return false;
+
Node other = (Node) obj;
boolean result = name.equals(other.name);