Move ByteBufWriteUtil.IPV{4,6}_PREFIX_BYTE_LENGTH} 44/86744/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Jan 2020 15:23:36 +0000 (16:23 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 6 Jan 2020 15:53:05 +0000 (16:53 +0100)
commite148f71d366c2ed0ab81edaadb8a4603c3bf9c90
treec995f447a247602468476a8bd97e86fff4d026f2
parent8832f89dba0e5dddc2db30f7711a177c039f0be7
Move ByteBufWriteUtil.IPV{4,6}_PREFIX_BYTE_LENGTH}

These constants are not used outside of the package, hide them and
move them to their respective Ipv{4,6}Util classes.

Change-Id: Ida261113709c35a95615b9f49dde5d2731f38ed0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
util/src/main/java/org/opendaylight/protocol/util/ByteBufWriteUtil.java
util/src/main/java/org/opendaylight/protocol/util/Ipv4Util.java
util/src/main/java/org/opendaylight/protocol/util/Ipv6Util.java
util/src/test/java/org/opendaylight/protocol/util/ByteBufWriteUtilTest.java