Eliminate space escaping 30/109030/6
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 20 Nov 2023 13:41:36 +0000 (14:41 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 21 Nov 2023 09:22:45 +0000 (09:22 +0000)
commitde23f62b19967963aec73ced9523f6cf4e5b7bc5
tree14b6264566cb620be0330ad9a4544aa6a361a5a5
parenta03e6a18cf589ddf665ce5dbc357caa1deb306fe
Eliminate space escaping

We want to be spec-compliant, and a simple space is not a special
character, so we should not be escaping it on output.

Fixup tests which require us escaping spaces and convert them to JUnit5.

JIRA: NETCONF-1157
Change-Id: Id550a4f9d17b77bec3fbb12de89bbf1f775b8e8f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
protocol/restconf-api/src/main/java/org/opendaylight/restconf/api/ApiPath.java
protocol/restconf-api/src/test/java/org/opendaylight/restconf/api/ApiPathTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/IdentifierCodecTest.java
restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierSerializerTest.java