- private static final Logger LOG = LoggerFactory.getLogger(LazyLeafOperations.class);
-
- // FIXME: 6.0.0: remove this knob
- private static final String EXPENDABLE_PROP_NAME =
- "org.opendaylight.yangtools.yang.data.impl.schema.nodes.lazy-leaves";
-
- /**
- * Global enabled run-time constant. If set to true, this class will treat {@link LeafNode} and
- * {@link LeafSetEntryNode} as an expendable object. This constant is controlled by {@value #EXPENDABLE_PROP_NAME}
- * system property.
- */
- // FIXME: 6.0.0: remove this knob
- private static final boolean EXPENDABLE;
-
- static {
- EXPENDABLE = Boolean.parseBoolean(System.getProperty(EXPENDABLE_PROP_NAME, "true"));
- if (!EXPENDABLE) {
- LOG.warn("Leaf nodes are treated as regular nodes. This option is deprecated and is schedule for removal.");
- }
- }
-