CCSDK-1557 -Replace the type specification in this constructor call with the diamond... 61/92261/1
authorThugutla Sailakshmi <tsaila10@in.ibm.com>
Tue, 30 Jul 2019 09:51:49 +0000 (15:21 +0530)
committerThugutla Sailakshmi <tsaila10@in.ibm.com>
Tue, 30 Jul 2019 09:51:59 +0000 (15:21 +0530)
Replace the type specification in this constructor call with the diamond operator ("<>").

Issue-ID: CCSDK-1557
Change-Id: I714ddaf9d289a2a1ec82b8236b83103020fd8d25
Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIDeclarations.java

index 2aa5c54..be67f33 100755 (executable)
@@ -5,7 +5,7 @@
  * 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.
@@ -1618,7 +1618,7 @@ public abstract class AAIDeclarations implements AAIClient {
         }
 
         Class resourceClass = instance.getClass();
-        Set<String> metadataKeys = new TreeSet<String>();
+        Set<String> metadataKeys = new TreeSet<>();
         Set<String> set = params.keySet();
         for(String attribute : set) {
             if(attribute.startsWith("metadata")) {