Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / ECOMP-PAP-REST / src / main / java / org / openecomp / policy / pap / xacml / rest / service / MetricService.java
index 21a6301..97e53e8 100644 (file)
@@ -38,7 +38,7 @@ import com.att.research.xacml.api.pap.PDPPolicy;
 public class MetricService {
 
        public static void doGetPolicyMetrics(HttpServletRequest request, HttpServletResponse response) {
-               Set<EcompPDPGroup> groups = new HashSet<EcompPDPGroup>();
+               Set<EcompPDPGroup> groups = new HashSet<>();
                try {
                        //get the count of policies on the PDP
                        if(XACMLPapServlet.getPAPEngine()!=null){