diff options
author | burdziak <olaf.burdziakowski@nokia.com> | 2018-05-21 14:40:41 +0200 |
---|---|---|
committer | burdziak <olaf.burdziakowski@nokia.com> | 2018-05-21 14:40:41 +0200 |
commit | df01da95f930edf76d7df617b4e4f1e0cf9b9ff7 (patch) | |
tree | 91713bcad941c086168e54851d9f7e3d15672494 | |
parent | c8f8273a200559f87b883767758e4bda446dadfe (diff) |
Fix small sonar issues in URFutureApproveExec
Change-Id: I3b64bfd0a9ce7a1f75b70ec918b09382fe30035b
Issue-ID: AAF-298
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/URFutureApproveExec.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<List<Approval>, OP_STATUS, Fu return Result.err(Result.ERR_ActionNotCompleted,"Not Executed"); } else { // Save on Lookups - final List<ApprovalDAO.Data> apprs = new ArrayList<ApprovalDAO.Data>(); - final List<UserRoleDAO.Data> urs = new ArrayList<UserRoleDAO.Data>(); + final List<ApprovalDAO.Data> apprs = new ArrayList<>(); + final List<UserRoleDAO.Data> urs = new ArrayList<>(); for(Approval a : app) { apprs.add(a.add); UserRole ur = UserRole.get(a.add.user, future.role); |