mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CID-1192810: Remove useless control flow
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit f74446a195d2a0fa4f1380254416a8a8538a6893)
This commit is contained in:
parent
ff42d5ad54
commit
4d8dfc9b7c
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user