Fix checkstyle in yang-parser-spi
[yangtools.git] / yang / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / DerivedNamespaceBehaviour.java
index 2407aa9ccf1988b660c590dc18bc8ae07236cb3a..f4193bea7b5166888b8db28a420a29223ee19c3f 100644 (file)
@@ -11,10 +11,11 @@ import com.google.common.base.Preconditions;
 import java.util.Map;
 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
 
-public abstract class DerivedNamespaceBehaviour<K, V, DK, N extends IdentifierNamespace<K, V>, DN extends IdentifierNamespace<DK, ?>>
-        extends NamespaceBehaviour<K, V, N> {
+@SuppressWarnings("checkstyle:classTypeParameterName")
+public abstract class DerivedNamespaceBehaviour<K, V, DK, N extends IdentifierNamespace<K, V>,
+       DN extends IdentifierNamespace<DK, ?>> extends NamespaceBehaviour<K, V, N> {
 
-    private Class<DN> derivedFrom;
+    private final Class<DN> derivedFrom;
 
     protected DerivedNamespaceBehaviour(Class<N> identifier, Class<DN> derivedFrom) {
         super(identifier);