new unit tests for sdc-dao
[sdc.git] / catalog-dao / src / main / java / org / openecomp / sdc / be / dao / graph / datatype / GraphRelation.java
index 4dfd154..b223733 100644 (file)
@@ -72,7 +72,9 @@ public class GraphRelation extends GraphElement {
        }
 
        public void addPropertis(Map<String, Object> props) {
-               properties.putAll(props);
+               if(props != null) {
+                       properties.putAll(props);
+               }
        }
 
        public void overwritePropertis(Map<String, Object> props) {