Merge "IssueFix-Replace type with diamonds"
authorvarun gudisena <varuneshwar.gudisena@att.com>
Tue, 22 Jan 2019 18:55:40 +0000 (18:55 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 22 Jan 2019 18:55:40 +0000 (18:55 +0000)
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 ) {