You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/08/28 11:57:50 UTC
[19/50] [abbrv] git commit: Removing unused variables and cleaning up
the code in ServiceImpl.
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 <ni...@gmail.com>
Authored: Wed Aug 20 08:39:32 2014 +0530
Committer: Nirmal Fernando <ni...@gmail.com>
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);