BUG-2825: do not instantiate a temporary string 43/35643/5
authorRobert Varga <robert.varga@pantheon.sk>
Thu, 25 Feb 2016 02:01:36 +0000 (03:01 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 4 Mar 2016 01:45:34 +0000 (02:45 +0100)
commit8f92af8a256a9f329b5cd9854344703420c72979
tree58329037f8e40ffa63ebb0b389a312869b070f1b
parent34a6872395f8ab47b3beb56f6f55d7365df5704f
BUG-2825: do not instantiate a temporary string

In case of a classifier being present, it is sufficient to adjust the
logical string length we are going to touch.

Change-Id: I33a4bf70042bab1bf720975eeb6482709111969c
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
(cherry picked from commit 351173881c30eda563df2f7d7a624a25dfa4e28d)
model/ietf/ietf-type-util/src/main/java/org/opendaylight/mdsal/model/ietf/util/Ipv6Utils.java