BUG-6757: revert fix for BUG-4456
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / DeclaredEffectiveStatementBase.java
index e460303861fbef008e0e9314967c45e6c5d434b3..a1fdda30be028f2e99a1710f916d804ae6c4fa31 100644 (file)
@@ -21,24 +21,14 @@ public abstract class DeclaredEffectiveStatementBase<A, D extends DeclaredStatem
     private final A argument;
     private final D declaredInstance;
 
-    protected DeclaredEffectiveStatementBase(final StmtContext<A, D, ?> ctx) {
-        this(ctx, true);
-    }
-
     /**
      * Constructor.
      *
      * @param ctx
      *            context of statement.
-     * @param buildUnknownSubstatements
-     *            if it is false, the unknown substatements are omitted from
-     *            build of effective substatements till the call of either
-     *            effectiveSubstatements or getOmittedUnknownSubstatements
-     *            method of EffectiveStatementBase class. The main purpose of
-     *            this is to allow the build of recursive extension definitions.
      */
-    protected DeclaredEffectiveStatementBase(StmtContext<A, D, ?> ctx, final boolean buildUnknownSubstatements) {
-        super(ctx, buildUnknownSubstatements);
+    protected DeclaredEffectiveStatementBase(StmtContext<A, D, ?> ctx) {
+        super(ctx);
 
         this.argument = ctx.getStatementArgument();
         this.statementSource = ctx.getStatementSource();