Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / openecomp / policy / std / NotificationUnMarshal.java
index a09391b..196f89b 100644 (file)
@@ -39,7 +39,7 @@ public class NotificationUnMarshal {
                notification = mapper.readValue(json, StdPDPNotification.class);
                if(notification!=null){
                        if(notification.getLoadedPolicies()!=null){
-                               Collection<StdLoadedPolicy> stdLoadedPolicies = new ArrayList<StdLoadedPolicy>();
+                               Collection<StdLoadedPolicy> stdLoadedPolicies = new ArrayList<>();
                                for(LoadedPolicy loadedPolicy: notification.getLoadedPolicies()){
                                        StdLoadedPolicy stdLoadedPolicy = (StdLoadedPolicy) loadedPolicy;
                                        if(notification.getRemovedPolicies()!=null){