Add curly braces to for and if statements.
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / vendorextension / v6extension / V6StatsReply.java
index f8c3d59bb353e120f535b7949b7a005b839b66f5..3ae19838a2136b2be46fc18df026119fa03eb8a4 100644 (file)
@@ -296,8 +296,9 @@ public class V6StatsReply extends OFVendorStatistics {
          * action list may be preceded by a padding of 0 to 7 bytes based upon this:
          */
         short pad_size = (short) (((match_len + 7) / 8) * 8 - match_len);
-        for (i = 0; i < pad_size; i++)
+        for (i = 0; i < pad_size; i++) {
             data.get();
+        }
         int action_len = this.length - MINIMUM_LENGTH - (match_len + pad_size);
         if (action_len > 0)
             this.actions = this.actionFactory.parseActions(data, action_len);