Remove EncodeConstants.SIZE_OF_{BYTE,SHORT,INT,LONG}_IN_BYTES
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / protocol / impl / serialization / match / OxmIpv4DstSerializer.java
index 8eb09c41db2394dfe5665fa81278ccb4364398d5..4e703bac6b21cfc1efc2e1363c80f9930c577f74 100644 (file)
@@ -43,6 +43,6 @@ public class OxmIpv4DstSerializer extends AbstractOxmIpv4AddressSerializer {
 
     @Override
     protected int getValueLength() {
-        return EncodeConstants.SIZE_OF_INT_IN_BYTES;
+        return Integer.BYTES;
     }
 }