From: SRINIVAS V Date: Fri, 12 Jan 2018 09:20:30 +0000 (+0530) Subject: Local and Class variable name conflict resolved X-Git-Tag: v1.2.0~185^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=commitdiff_plain;h=b31eb9787fd4171325ef39d887e2c0feb58e9927 Local and Class variable name conflict resolved *Renamed the local variable to othername Change-Id: I5f1e1b8b9140acf73de241f78b0437dc9e5805b5 Issue-ID: POLICY-336 Signed-off-by: SRINIVAS V --- diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java index d308e7eda..50b9d6923 100644 --- a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java +++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java @@ -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 changedPolicies = new HashSet<>(); changedPolicies.addAll((Collection) this.policyContainer.getItemIds()); @@ -395,4 +395,4 @@ public class AutoPushController extends RestrictedBaseController{ return null; } -} \ No newline at end of file +}