Use Short.BYTES 15/92715/3
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Sep 2020 10:30:58 +0000 (12:30 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 25 Sep 2020 14:33:11 +0000 (16:33 +0200)
commit1480c303afa1d7eaa1be183200097e2017bc95c8
tree2b6fd339904c6fbe802e49f14cc0359be3d073ec
parent5244b557d640b84e9fe14363139a921d1764c19e
Use Short.BYTES

We have a few places where we a using Short.SIZE / Byte.SIZE. This
is already a constant known as Short.BYTES.

Change-Id: I51bbc7028131948d615ef2f21e9301ba1cff0fc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
openflowjava/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/util/EncodeConstants.java
openflowjava/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/factories/MeterModInputMessageFactoryTest.java
openflowjava/openflow-protocol-impl/src/test/java/org/opendaylight/openflowjava/protocol/impl/serialization/factories/MultipartReplyMessageFactoryTest.java