Do not use 'new Long()' 24/70624/5
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 7 Apr 2018 11:57:22 +0000 (13:57 +0200)
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>
Thu, 26 Apr 2018 09:14:56 +0000 (09:14 +0000)
commite67562223e47b05c97977f3df9d65fd5d89f0bc4
tree55aca2e2ad0691c04f4e4288001abd4775f0b25e
parentf99d0b8499f2d796941ac7337a0cb6c2885752dc
Do not use 'new Long()'

Instantiating a long through new is inefficient, use Long.valueOf()
instead.

Change-Id: I7c520334e3a0012e7938a11fc587bfa894afbcf4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/impl/attribute/sr/SidLabelIndexParser.java