Removing unused variables and cleaning up the code in ServiceImpl.
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e8040aaf Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e8040aaf Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e8040aaf Branch: refs/heads/4.0.0-grouping Commit: e8040aafa5233e3dcda63e6405a8cac0fabb2e99 Parents: 62a92ca Author: Nirmal Fernando <[email protected]> Authored: Wed Aug 20 08:39:32 2014 +0530 Committer: Nirmal Fernando <[email protected]> Committed: Wed Aug 20 08:39:32 2014 +0530 ---------------------------------------------------------------------- .../org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/e8040aaf/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java index 8e9f8bc..897fd4e 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/api/AutoScalerServiceImpl.java @@ -61,7 +61,6 @@ public class AutoScalerServiceImpl implements AutoScalerServiceInterface{ ArrayList<DeploymentPolicy> validPolicies = new ArrayList<DeploymentPolicy>(); for(DeploymentPolicy deploymentPolicy : this.getAllDeploymentPolicies()){ - Partition[] policyPartitions = deploymentPolicy.getAllPartitions(); try { // call CC API CloudControllerClient.getInstance().validateDeploymentPolicy(cartridgeType, deploymentPolicy);
