Convert leaf statement to instantiatedPolicy()
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / leaf / LeafStatementSupport.java
index d24b6f3e111d9e8c2ca4d2f4aa7c01a9e5d826ad..b8c74125c1acb6e31054f32fdd6e5cca83b180ac 100644 (file)
@@ -49,7 +49,7 @@ public final class LeafStatementSupport extends BaseSchemaTreeStatementSupport<L
     private static final LeafStatementSupport INSTANCE = new LeafStatementSupport();
 
     private LeafStatementSupport() {
-        super(YangStmtMapping.LEAF, StatementPolicy.legacyDeclaredCopy());
+        super(YangStmtMapping.LEAF, instantiatedPolicy());
     }
 
     public static LeafStatementSupport getInstance() {