Collection syntax change because of Sonar
[aaf/authz.git] / auth / auth-service / src / main / java / org / onap / aaf / auth / service / api / API_History.java
index 8c55e7d..9044e17 100644 (file)
@@ -185,7 +185,7 @@ public class API_History {
                // Sonar says threading issues.
                SimpleDateFormat FMT = new SimpleDateFormat("yyyyMM");
                String yyyymm = req.getParameter("yyyymm");
-               ArrayList<Integer> ai= new ArrayList<Integer>();
+               ArrayList<Integer> ai= new ArrayList<>();
                if(yyyymm==null) {
                        GregorianCalendar gc = new GregorianCalendar();
                        // three months is the default