Merge "Reorder modifiers"
[so.git] / bpmn / MSOCoreBPMN / src / main / java / org / openecomp / mso / bpmn / core / RollbackData.java
index b650344..f49712e 100644 (file)
@@ -35,7 +35,7 @@ public class RollbackData implements Serializable {
     private static final long serialVersionUID = 1L;
 
     private Map<String, Map<String, Serializable>> dictionary =
-            new HashMap<String, Map<String, Serializable>>();
+        new HashMap<>();
 
     /**
      * Returns true if the specified type is stored in this object.
@@ -55,7 +55,7 @@ public class RollbackData implements Serializable {
      */
     public void put(String type, String key, String value) {
         Map<String, Serializable> mapForType = dictionary
-            .computeIfAbsent(type, k -> new HashMap<String, Serializable>());
+            .computeIfAbsent(type, k -> new HashMap<>());
 
         mapForType.put(key, value);
     }