Updating features archetype to talk about user-facing features.
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / vendorextension / v6extension / V6StatsRequest.java
index c96419ef11e9d465823f112ed8f81280fb22911b..d9c460b32e25b310340eb58ea1f85447a5dbe8e2 100644 (file)
@@ -11,7 +11,6 @@ package org.opendaylight.controller.protocol_plugin.openflow.vendorextension.v6e
 
 import java.nio.ByteBuffer;
 
-import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
 import org.openflow.protocol.statistics.OFVendorStatistics;
 
 
@@ -120,8 +119,9 @@ public class V6StatsRequest extends OFVendorStatistics {
         this.outPort = data.getShort();
         this.match_len = data.getShort();
         this.tableId = data.get();
-        for (int i = 0; i < 3; i++)
+        for (int i = 0; i < 3; i++) {
             data.get();//pad byte
+        }
 
     }
 
@@ -133,8 +133,9 @@ public class V6StatsRequest extends OFVendorStatistics {
         data.putShort(this.outPort);
         data.putShort(this.match_len);
         data.put(this.tableId);
-        for (int i = 0; i < 3; i++)
+        for (int i = 0; i < 3; i++)  {
             data.put((byte) 0x0);//pad byte
+        }
     }
 
     @Override
@@ -150,7 +151,8 @@ public class V6StatsRequest extends OFVendorStatistics {
 
     @Override
     public String toString() {
-        return "V6StatsRequest[" + ReflectionToStringBuilder.toString(this)
+        return "V6StatsRequest [msgsubtype=" + msgsubtype + ", outPort="
+                + outPort + ", match_len=" + match_len + ", tableId=" + tableId
                 + "]";
     }