Local and Class variable name conflict resolved 25/28025/1
authorSRINIVAS V <srinivasa.mohan@huawei.com>
Fri, 12 Jan 2018 09:20:30 +0000 (14:50 +0530)
committerSRINIVAS V <srinivasa.mohan@huawei.com>
Fri, 12 Jan 2018 09:23:22 +0000 (14:53 +0530)
*Renamed the local variable to othername

Change-Id: I5f1e1b8b9140acf73de241f78b0437dc9e5805b5
Issue-ID: POLICY-336
Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java

index d308e7e..50b9d69 100644 (file)
@@ -359,8 +359,8 @@ public class AutoPushController extends RestrictedBaseController{
                        policyContainer = new PDPPolicyContainer(group);
                        if(removePolicyData.size() > 0){
                                for(int i = 0 ; i < removePolicyData.size(); i++){
-                                       String data = removePolicyData.get(i).toString();
-                                       this.policyContainer.removeItem(data);
+                                       String polData = removePolicyData.get(i).toString();
+                                       this.policyContainer.removeItem(polData);
                                }
                                Set<PDPPolicy> changedPolicies = new HashSet<>();
                                changedPolicies.addAll((Collection<PDPPolicy>) this.policyContainer.getItemIds());
@@ -395,4 +395,4 @@ public class AutoPushController extends RestrictedBaseController{
                return null;
        }
 
-}
\ No newline at end of file
+}