BUG-2825: use array operations to move/zero arrays 90/35390/6
authorRobert Varga <robert.varga@pantheon.sk>
Thu, 25 Feb 2016 11:27:50 +0000 (12:27 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 25 Feb 2016 15:23:30 +0000 (15:23 +0000)
commit8aa122cc53aa1686fba1abd5fdae92fa74d07bd5
tree5ab3a0057d43ae113f0dc398c3720c397f484007
parenta2b089098feff819855c90e5843b0540188a470e
BUG-2825: use array operations to move/zero arrays

Instead of an open-coded loop, perform element movement and zeroing out
in two steps using System.arrayCopy() and Arrays.fill().

Change-Id: Ide8509ecba7ef0a41df4832ed4832e691cefda6c
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
model/ietf/ietf-type-util/src/main/java/org/opendaylight/mdsal/model/ietf/util/Ipv6Utils.java