You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by du...@apache.org on 2014/09/16 15:53:01 UTC

git commit: updated refs/heads/bugfix/CID-1192810 to 38f8ca7

Repository: cloudstack
Updated Branches:
  refs/heads/bugfix/CID-1192810 [created] 38f8ca770


CID-1192810: Remove useless control flow


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/38f8ca77
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/38f8ca77
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/38f8ca77

Branch: refs/heads/bugfix/CID-1192810
Commit: 38f8ca770641140dcf5ad3e15b344171b38bf82f
Parents: ba93200
Author: imduffy15 <ia...@ianduffy.ie>
Authored: Tue Sep 16 14:52:30 2014 +0100
Committer: imduffy15 <ia...@ianduffy.ie>
Committed: Tue Sep 16 14:52:30 2014 +0100

----------------------------------------------------------------------
 server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/38f8ca77/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
index 9eaef1e..ca66403 100755
--- a/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
+++ b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
@@ -512,8 +512,6 @@ StateListener<State, VirtualMachine.Event, VirtualMachine> {
     public DeploymentPlanner getDeploymentPlannerByName(String plannerName) {
         if (plannerName != null) {
             for (DeploymentPlanner plannerInList : _planners) {
-                if (plannerName != null) {
-                }
                 if (plannerName.equalsIgnoreCase(plannerInList.getName())) {
                     return plannerInList;
                 }