The previous backported patch has changed the default behavior
around leaf nodes. Flip the default other way around, resulting
in previous behavior, while still allowing users to opt in into
treating leaf nodes as transient.
JIRA: YANGTOOLS-1019
Change-Id: I67b6c8ffdc563b472a8c822d1aa4100594640645
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
private static final boolean EXPENDABLE;
static {
- EXPENDABLE = Boolean.parseBoolean(System.getProperty(EXPENDABLE_PROP_NAME, "true"));
+ EXPENDABLE = Boolean.parseBoolean(System.getProperty(EXPENDABLE_PROP_NAME, "false"));
LOG.info("Leaf nodes are treated as {} nodes", EXPENDABLE ? "transient" : "regular");
}