Use HexFormat instead of custom code 24/106824/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Jul 2023 20:29:51 +0000 (22:29 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 5 Jul 2023 20:42:20 +0000 (22:42 +0200)
commita0ed9e3db4b409bfb1ef556f428704ad4cb8ff6a
treef2f1926f71415fc80a319ca3204ec567bc0fa89b
parent8e9db55d772deb3effa8d9cddda853807a954ff7
Use HexFormat instead of custom code

JDK17+ ships with HexFormat, which renders some of our code superfluous.
Migrate over while retaining compatibility.

Change-Id: I608ab71ad0406974a56d60c63de12a198a85d922
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/ApiPathParser.java