Hide XmlCodecFactory internals 26/107526/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 28 Aug 2023 11:15:55 +0000 (13:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 28 Aug 2023 11:18:11 +0000 (13:18 +0200)
commitdb06703aa3c1c68d9481b5823c16a570a23dfb6e
tree1f8dc1b012d140a9b0b9e9b0be66a8e898b3ca17
parent2ebb91d3916ba7d252df9386cf3c0067040d4a9b
Hide XmlCodecFactory internals

We are getting warnings about leaking XmlCodec. While this is not
exactly true, mitigate these warnings by splitting the real logic
into a package-private class while retaining the same external
XmlCodecFactory facade.

JIRA: YANGTOOLS-1534
Change-Id: I719cf82f00d4580505d92d7126be6d2c09c26a4b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
codec/yang-data-codec-xml/src/main/java/org/opendaylight/yangtools/yang/data/codec/xml/CodecFactory.java [new file with mode: 0644]
codec/yang-data-codec-xml/src/main/java/org/opendaylight/yangtools/yang/data/codec/xml/XmlCodecFactory.java
codec/yang-data-codec-xml/src/main/java/org/opendaylight/yangtools/yang/data/codec/xml/XmlStringInstanceIdentifierCodec.java