From b31eb9787fd4171325ef39d887e2c0feb58e9927 Mon Sep 17 00:00:00 2001 From: SRINIVAS V Date: Fri, 12 Jan 2018 14:50:30 +0530 Subject: 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 --- .../main/java/org/onap/policy/controller/AutoPushController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'POLICY-SDK-APP') 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 +} -- cgit 1.2.3-korg