IssueFix-Replace type with diamonds
[dmaap/dbcapi.git] / 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 ) {