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 212a65e8137163f6383125cadf80cbb037e8375f..e414a46871f72e21d461d7039e04bd5be2c61846 100644 (file)
@@ -21,24 +21,14 @@ public abstract class DeclaredEffectiveStatementBase<A, D extends DeclaredStatem
     private final A argument;
     private final D declaredInstance;
 
-    public 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();
@@ -75,4 +65,4 @@ public abstract class DeclaredEffectiveStatementBase<A, D extends DeclaredStatem
     public final D getDeclared() {
         return declaredInstance;
     }
-}
\ No newline at end of file
+}