X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Fprotocol%2Fserialization%2Fmultipart%2Ftablefeatures%2Fmatchfield%2FUdpDstMatchFieldSerializer.java;h=ca2c04a9cc2395bbb9639143c5529ba048b9d62d;hb=08614b02699a03ff8604f3bf7531f0575134cf90;hp=43e7fb32f1cbb434f0ae86c541af7a2d3dc2eb4a;hpb=d6acc80a3f3bf154a6b2c8a220e66e72530e4865;p=openflowplugin.git diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/protocol/serialization/multipart/tablefeatures/matchfield/UdpDstMatchFieldSerializer.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/protocol/serialization/multipart/tablefeatures/matchfield/UdpDstMatchFieldSerializer.java index 43e7fb32f1..ca2c04a9cc 100644 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/protocol/serialization/multipart/tablefeatures/matchfield/UdpDstMatchFieldSerializer.java +++ b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/protocol/serialization/multipart/tablefeatures/matchfield/UdpDstMatchFieldSerializer.java @@ -5,10 +5,8 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.matchfield; -import org.opendaylight.openflowjava.protocol.api.util.EncodeConstants; import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants; public class UdpDstMatchFieldSerializer extends AbstractMatchFieldSerializer { @@ -24,6 +22,6 @@ public class UdpDstMatchFieldSerializer extends AbstractMatchFieldSerializer { @Override protected int getValueLength() { - return EncodeConstants.SIZE_OF_SHORT_IN_BYTES; + return Short.BYTES; } }