Use StatementPolicy instead of CopyPolicy
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / uses / UsesStatementSupport.java
index 778353b69c28abc59592a8ff6478c48d9bcc418c..72cf842b13a026791285276115cff06a49ccd1e0 100644 (file)
@@ -79,7 +79,7 @@ public final class UsesStatementSupport
     private static final UsesStatementSupport INSTANCE = new UsesStatementSupport();
 
     private UsesStatementSupport() {
-        super(YangStmtMapping.USES, CopyPolicy.DECLARED_COPY);
+        super(YangStmtMapping.USES, StatementPolicy.legacyDeclaredCopy());
     }
 
     public static UsesStatementSupport getInstance() {