Select copyPolicy for each StatementSupport class
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / import_ / AbstractImportStatementSupport.java
index 2ad26bad3b2a0ba3b5386a151852338c444f6d8f..7248eb92384a9d1f751e04ef6240225290365ed2 100644 (file)
@@ -46,7 +46,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
 abstract class AbstractImportStatementSupport
         extends BaseStringStatementSupport<ImportStatement, ImportEffectiveStatement> {
     AbstractImportStatementSupport() {
-        super(YangStmtMapping.IMPORT);
+        super(YangStmtMapping.IMPORT, CopyPolicy.REJECT);
     }
 
     @Override