Sonar Blocker
[appc.git] / appc-common / src / main / java / org / openecomp / appc / util / StructuredPropertyHelper.java
index 2f292bc..dc40b63 100644 (file)
@@ -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);