Repository: stratos Updated Branches: refs/heads/master 9e6b99a82 -> 62f9c13a6
Remove unused return value from validateDeploymentPolicy method Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/62f9c13a Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/62f9c13a Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/62f9c13a Branch: refs/heads/master Commit: 62f9c13a68a87b74915c022b233c526273d0bea7 Parents: 9e6b99a Author: Lahiru Sandaruwan <[email protected]> Authored: Sat Apr 25 22:03:46 2015 +0530 Committer: Lahiru Sandaruwan <[email protected]> Committed: Sat Apr 25 22:03:46 2015 +0530 ---------------------------------------------------------------------- .../stratos/autoscaler/services/impl/AutoscalerServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/62f9c13a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java index 74578f6..21467fe 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/services/impl/AutoscalerServiceImpl.java @@ -847,7 +847,7 @@ public class AutoscalerServiceImpl implements AutoscalerService { } } - private boolean validateDeploymentPolicy(DeploymentPolicy deploymentPolicy) throws DeploymentPolicyNotExistsException, + private void validateDeploymentPolicy(DeploymentPolicy deploymentPolicy) throws DeploymentPolicyNotExistsException, InvalidDeploymentPolicyException, RemoteException { // deployment policy can't be null @@ -928,8 +928,6 @@ public class AutoscalerServiceImpl implements AutoscalerService { } } - return true; - } @Override
