Move list/key checks to onStatementAdded()
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / notification / AbstractNotificationStatementSupport.java
index 3b7b532b836054af2ac65f404be0b72a62872c87..1acdf04e6ed954ab8d5ff92cf6368a941c2382c5 100644 (file)
@@ -40,8 +40,6 @@ abstract class AbstractNotificationStatementSupport
     @Override
     protected final NotificationEffectiveStatement createEffective(final Current<QName, NotificationStatement> stmt,
             final ImmutableList<? extends EffectiveStatement<?, ?>> substatements) {
-        checkEffective(stmt);
-
         try {
             return new NotificationEffectiveStatementImpl(stmt.declared(), substatements,
                 historyAndStatusFlags(stmt.history(), substatements), stmt.wrapSchemaPath());
@@ -49,7 +47,4 @@ abstract class AbstractNotificationStatementSupport
             throw new SourceException(e.getMessage(), stmt, e);
         }
     }
-
-    // FIXME: remove this method
-    abstract void checkEffective(Current<QName, NotificationStatement> stmt);
 }
\ No newline at end of file