Use StatementPolicy instead of CopyPolicy
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / leaf / LeafStatementSupport.java
index 0b89b5b5c3ee970edc512c3324b2b407e72d8ea5..d24b6f3e111d9e8c2ca4d2f4aa7c01a9e5d826ad 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, CopyPolicy.DECLARED_COPY);
+        super(YangStmtMapping.LEAF, StatementPolicy.legacyDeclaredCopy());
     }
 
     public static LeafStatementSupport getInstance() {