Add curly braces to for and if statements.
[controller.git] / opendaylight / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / NeutronSubnet.java
index b1414c37306b86402b02a3bfff528c4753f84114..1072a344b0e1f0ac35e2dab68a420892df6e0ee0 100644 (file)
@@ -318,8 +318,9 @@ public class NeutronSubnet {
         Iterator<NeutronSubnet_IPAllocationPool> i = allocationPools.iterator();\r
         while (i.hasNext()) {\r
             NeutronSubnet_IPAllocationPool pool = i.next();\r
-            if (ans == null)\r
+            if (ans == null) {\r
                 ans = pool.getPoolStart();\r
+            }\r
             else\r
                 if (NeutronSubnet_IPAllocationPool.convert(pool.getPoolStart()) <\r
                         NeutronSubnet_IPAllocationPool.convert(ans))\r