Discover the common prefix in a FileStateSet 09/104609/3
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 26 Feb 2023 17:55:35 +0000 (18:55 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 26 Feb 2023 18:24:18 +0000 (19:24 +0100)
commit8d9755cff9f4c011ab62179e06abd322b32b9947
tree2befe4dca1af248ced9bfb8b83efda923dfc7761
parent9db31be4963b30fee412e3ff9f80bc4ec4e52c19
Discover the common prefix in a FileStateSet

Address a TODO that potentially improves persisted file size. This
makes FileState not a WritableObject, as the serialization format
requires further information.

JIRA: YANGTOOLS-1166
Change-Id: I35f7044186ac1e862a41e4f4a903fba2417cbb23
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/FileState.java
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/FileStateSet.java