X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fadapter%2FTerm.java;h=d709f0df37ca5a42d501e22e0231576509fb4b8f;hp=7188e3558b29515ec5dfd8ce995679d8b2c3da22;hb=401b48bc573561f097960a9ca7abe6d788456f28;hpb=9301fed7c290f52208922f780fdfe4b5a880b5aa diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/Term.java b/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/Term.java index 7188e3558..d709f0df3 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/Term.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/adapter/Term.java @@ -67,7 +67,7 @@ public class Term { public List getFromZones() { if (fromZones==null) { - fromZones= new ArrayList(); + fromZones= new ArrayList<>(); } return fromZones; } @@ -80,7 +80,7 @@ public class Term { public List getToZones() { if (toZones==null) { - toZones= new ArrayList(); + toZones= new ArrayList<>(); } return toZones; } @@ -113,7 +113,7 @@ public class Term { { if(sourceList==null) { - sourceList= new ArrayList(); + sourceList= new ArrayList<>(); } return this.sourceList; } @@ -127,7 +127,7 @@ public class Term { { if(destinationList==null) { - destinationList= new ArrayList(); + destinationList= new ArrayList<>(); } return this.destinationList; } @@ -140,7 +140,7 @@ public class Term { public List getSourceServices() { if(sourceServices==null) { - sourceServices= new ArrayList(); + sourceServices= new ArrayList<>(); } return this.sourceServices; } @@ -153,7 +153,7 @@ public class Term { public Set getDestServices() { if(destServices==null) { - destServices= new HashSet(); + destServices= new HashSet<>(); } return this.destServices; }