diff options
author | SRINIVAS V <srinivasa.mohan@huawei.com> | 2018-01-12 14:50:30 +0530 |
---|---|---|
committer | SRINIVAS V <srinivasa.mohan@huawei.com> | 2018-01-12 14:53:22 +0530 |
commit | b31eb9787fd4171325ef39d887e2c0feb58e9927 (patch) | |
tree | 3256a0280f924ff3fd6f0451f1261578b10274d9 /POLICY-SDK-APP/src/main/java/org/onap | |
parent | 802c346cd78a9fa65051698670f2fbe0c54ea180 (diff) |
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 <srinivasa.mohan@huawei.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/java/org/onap')
-rw-r--r-- | POLICY-SDK-APP/src/main/java/org/onap/policy/controller/AutoPushController.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<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 +} |