Fix checkstyle
[openflowplugin.git] / test-provider / src / main / java / org / opendaylight / openflowplugin / test / OpenflowpluginTestCommandProvider.java
index 45b67b3b0170e517c4b108edd33b6f10863f2f8e..00422eecc35f3fb1f757acdfabe8874f952ea530 100644 (file)
@@ -2618,9 +2618,7 @@ public class OpenflowpluginTestCommandProvider implements CommandProvider, AutoC
         int numberOfSwtiches = 0;
         int numberOfFlows = 0;
         int warmupIterations = 0;
-        boolean warmUpIterations = false;
 
-        int threadCount = 0;
         if (numberOfSwtichesStr != null && !numberOfSwtichesStr.trim().equals("")) {
             numberOfSwtiches = Integer.parseInt(numberOfSwtichesStr);
         } else {
@@ -2639,16 +2637,20 @@ public class OpenflowpluginTestCommandProvider implements CommandProvider, AutoC
             warmupIterations = 2;
         }
 
+        final int threadCount;
         if (threadCountStr != null && !threadCountStr.trim().equals("")) {
             threadCount = Integer.parseInt(threadCountStr);
         } else {
             threadCount = 2;
         }
+
+        final boolean warmUpIterations;
         if (warmUpStr != null && !warmUpStr.trim().equals("") && warmUpStr.trim().equals("true")) {
             warmUpIterations = true;
         } else {
             warmUpIterations = false;
         }
+
         ci.println("*     Test Configurations*");
         ci.println("*     numberOfSwtiches:::" + numberOfSwtiches + "");
         ci.println("*     numberOfFlows:::" + numberOfFlows + "");