Bug 4610 - Do not create duplicate declared statements
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / YangVersionEffectiveStatementImpl.java
index 32479687a131175641c4da7faa7f40aaa55b213b..835e2cbc3a1e06e02d1e8c9d71da1d83d86e8b49 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
@@ -10,13 +10,8 @@ package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective;
 import org.opendaylight.yangtools.yang.model.api.stmt.YangVersionStatement;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
 
-public class YangVersionEffectiveStatementImpl extends
-        EffectiveStatementBase<String, YangVersionStatement> {
-
-    public YangVersionEffectiveStatementImpl(
-            StmtContext<String, YangVersionStatement, ?> ctx) {
+public final class YangVersionEffectiveStatementImpl extends DeclaredEffectiveStatementBase<String, YangVersionStatement> {
+    public YangVersionEffectiveStatementImpl(final StmtContext<String, YangVersionStatement, ?> ctx) {
         super(ctx);
-
     }
-
 }
\ No newline at end of file