Use direct conversion 78/85978/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Nov 2019 15:12:31 +0000 (16:12 +0100)
committerRobert Varga <nite@hq.sk>
Fri, 29 Nov 2019 14:40:54 +0000 (14:40 +0000)
commit76b41741f63455ebce2f79828962da76e7e7464f
tree403112e5892b62f844d652b8a1c2043b97df3f01
parent15c403836c65097741408e7e4d4d6b0a2352f3cd
Use direct conversion

Uint types have utility converters for simple conversion among them,
use toUint16() without going through an int (and related checks).

Change-Id: I68927011a5eb933cc67fb1afba258b5d254973d9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPSessionState.java