diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2018-05-21 13:32:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-21 13:32:44 +0000 |
commit | 709a99991f6acac3238901de4c91a15c8c532574 (patch) | |
tree | 87d94f447873b8a71931fb2b8e8dc8d23b2451bf /auth/auth-batch/src/main/java | |
parent | 252723ccdf540bd1dab3b53e0784e4125b30c5ad (diff) | |
parent | df01da95f930edf76d7df617b4e4f1e0cf9b9ff7 (diff) |
Merge "Fix small sonar issues in URFutureApproveExec"
Diffstat (limited to 'auth/auth-batch/src/main/java')
-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); |