IssueFix-Replace type with diamonds 08/75208/1
authorDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 3 Jan 2019 08:49:22 +0000 (14:19 +0530)
committerDriptaroop Das <driptaroop.das@in.ibm.com>
Thu, 3 Jan 2019 08:49:42 +0000 (14:19 +0530)
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>
src/main/java/org/onap/dmaap/dbcapi/aaf/AafLurService.java

index 2ebf403..537c773 100644 (file)
@@ -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 ) {