Do not instantiate byte[] needlessly 41/35941/1
authorRobert Varga <rovarga@cisco.com>
Wed, 24 Feb 2016 19:32:46 +0000 (20:32 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 8 Mar 2016 15:40:46 +0000 (15:40 +0000)
commit8c55e1b1b94b22615d626c8d28a8272631204116
treed87762fb6f5ac0dd3c2c3a2a6e575ed2a53ab9d0
parent0b2a005ac4e8243bca77ad3ed32c1dd374aa29cf
Do not instantiate byte[] needlessly

Creating a single-byte array is not needed here.

Change-Id: I518419438d6eae6146616fba0725245fc348fee7
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 51ea1ad17e3fd9b7ffe943cfe5f4e3bd71a892c8)
util/src/main/java/org/opendaylight/protocol/util/Ipv4Util.java
util/src/main/java/org/opendaylight/protocol/util/Ipv6Util.java