aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 14:19:22 +0530
committerDriptaroop Das <driptaroop.das@in.ibm.com>2019-01-03 14:19:42 +0530
commitfa24cf0508dcec6bea9cd8b69eb1eda977d058bb (patch)
tree21ff49490704546373631fae110eaf137575d9fc
parent956361f657eda468d5980249db6b155c472f5f85 (diff)
IssueFix-Replace type with diamonds
AafLurService.java - Replace the type specification in this constructor call with the diamond operator ("<>"). Issue-ID: DMAAP-925 Change-Id: I6f1309c3270198e55bccfb365776fd27ebc1d5fd Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java
index 2ebf403..537c773 100644
--- a/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java
+++ b/src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java
@@ -3,7 +3,7 @@
* org.onap.dmaap
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * Modifications Copyright (C) 2018 IBM.
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -128,7 +128,7 @@ public class AafLurService extends BaseLoggingClass {
return rc;
}
- List<Permission> perms = new ArrayList<Permission>();
+ List<Permission> perms = new ArrayList<>();
aafLur.fishAll( principal, perms);
String key = aafPerm.getKey();
for ( Permission prm: perms ) {