Remove unused constructor 81/95881/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 21 Apr 2021 17:42:38 +0000 (19:42 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 21 Apr 2021 17:43:14 +0000 (19:43 +0200)
We have a single constructor which is not being used anywhere, remove it
to reduce confusion.

Change-Id: Ib3a6d6f7760243b1ba890ca45b49a22e6daf22d7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/StatementContextBase.java

index 109ffbc5370859e9b524cede4bc9735b65a0f1e6..65656d4efa5ba85c3e4541b6cf033756f4170547 100644 (file)
@@ -140,11 +140,6 @@ public abstract class StatementContextBase<A, D extends DeclaredStatement<A>, E
         this.copyHistory = COPY_ORIGINAL;
     }
 
-    StatementContextBase(final StatementDefinitionContext<A, D, E> def, final byte copyHistory) {
-        this.definition = requireNonNull(def);
-        this.copyHistory = copyHistory;
-    }
-
     StatementContextBase(final StatementDefinitionContext<A, D, E> def, final CopyType copyType) {
         this.definition = requireNonNull(def);
         this.copyHistory = (byte) copyFlags(copyType);
@@ -837,6 +832,7 @@ public abstract class StatementContextBase<A, D extends DeclaredStatement<A>, E
     }
 
     @Beta
+    // FIXME: this information should be exposed as a well-known Namespace
     public final boolean hasImplicitParentSupport() {
         return definition.getFactory() instanceof ImplicitParentAwareStatementSupport;
     }