import java.util.List;\r
\r
import org.opendaylight.openflowjava.protocol.impl.deserialization.OFDeserializer;\r
+import org.opendaylight.openflowjava.protocol.impl.util.EncodeConstants;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.ExperimenterQueuePropertyBuilder;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.RateQueueProperty;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.augments.rev131002.RateQueuePropertyBuilder;\r
expBuilder.setExperimenter(input.readUnsignedInt());\r
input.skipBytes(PADDING_IN_EXPERIMENTER_QUEUE_PROPERTY);\r
expBuilder.setData(input.readBytes(currentPropertyLength\r
- - Integer.SIZE / Byte.SIZE - PADDING_IN_EXPERIMENTER_QUEUE_PROPERTY).array());\r
+ - EncodeConstants.SIZE_OF_INT_IN_BYTES - PADDING_IN_EXPERIMENTER_QUEUE_PROPERTY).array());\r
propertiesBuilder.addAugmentation(RateQueueProperty.class, expBuilder.build());\r
}\r
propertiesList.add(propertiesBuilder.build());\r