Notify.java-Replace type specification in this constructor call with the diamond...
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / batch / reports / Notify.java
index a040804..54cb737 100644 (file)
@@ -290,7 +290,7 @@ import org.onap.aaf.misc.env.util.Chrono;
             Pending p;
             
             tt = trans.start("Notify for Pending", Trans.SUB);
-            List<String> idList = new ArrayList<String>();
+            List<String> idList = new ArrayList<>();
             String id;
             try {
                 for(Entry<String, Pending> es : mpending.entrySet()) {
@@ -309,8 +309,6 @@ import org.onap.aaf.misc.env.util.Chrono;
                         rs.row("appr", id,p.qty(),batchEnv);
                         npab.store(rs.asList());
                         if(notify(noAvg, npab)>0) {
-                            // Update
-//                            lastN.update(cbl.inc(),key,"pending","");
                             npab.record(trans,cbl.inc(), id, idList, lastN);
                             npab.inc();
                         }