summaryrefslogtreecommitdiffstats
path: root/aai-service
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-08 11:06:22 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-08 11:06:34 +0530
commit75da5d3681c44326e4766ce9e3a110f11ee108d4 (patch)
treea2438a493148ab04b55cd9370e91a411c2b6e0a0 /aai-service
parent26f865938e18be289d51956663956ec315200910 (diff)
fixed sonar issue in AAIRequest.java
fixed sonar issue Issue-ID: CCSDK-525 Change-Id: Ia8f0883f29ae227225da393254106b4862dafffe Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'aai-service')
-rwxr-xr-xaai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
index baceffab3..82df69818 100755
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/AAIRequest.java
@@ -5,6 +5,8 @@
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
* ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -292,7 +294,7 @@ public abstract class AAIRequest {
// for group search add itself, but remove singular version of itself
if(!uniqueResources.contains(resource)) {
boolean replaced = false;
- Set<String> tmpUniqueResources = new HashSet<String>();
+ Set<String> tmpUniqueResources = new HashSet<>();
tmpUniqueResources.addAll(uniqueResources);
for(String item : tmpUniqueResources){
String plural = item +"s";