From df01da95f930edf76d7df617b4e4f1e0cf9b9ff7 Mon Sep 17 00:00:00 2001 From: burdziak Date: Mon, 21 May 2018 14:40:41 +0200 Subject: Fix small sonar issues in URFutureApproveExec Change-Id: I3b64bfd0a9ce7a1f75b70ec918b09382fe30035b Issue-ID: AAF-298 Signed-off-by: burdziak --- .../src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth') diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java index 6cf2c53e..635efef0 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java @@ -56,8 +56,8 @@ public class URFutureApproveExec extends ActionDAO, OP_STATUS, Fu return Result.err(Result.ERR_ActionNotCompleted,"Not Executed"); } else { // Save on Lookups - final List apprs = new ArrayList(); - final List urs = new ArrayList(); + final List apprs = new ArrayList<>(); + final List urs = new ArrayList<>(); for(Approval a : app) { apprs.add(a.add); UserRole ur = UserRole.get(a.add.user, future.role); -- cgit 1.2.3-korg