cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [28/50] [abbrv] git commit: updated refs/heads/statscollector-graphite to 621156c
Date Sun, 28 Sep 2014 09:40:28 GMT
CID-1192810: Remove useless control flow

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


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

Branch: refs/heads/statscollector-graphite
Commit: f74446a195d2a0fa4f1380254416a8a8538a6893
Parents: 92858af
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Thu Sep 25 17:02:13 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Thu Sep 25 17:02:13 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f74446a1/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 146352e..a40a7d7 100755
--- a/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
+++ b/server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
@@ -519,8 +519,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;
                 }


Mime
View raw message