Enforce checkstyle in yang-data-util
[yangtools.git] / yang / yang-data-util / src / main / java / org / opendaylight / yangtools / yang / data / util / LeafListEntryContextNode.java
index c8dd12ca055e456a94f4ff893329c732332c3792..7b89afc34001f71186bda42155a5d19ac36f2d36 100644 (file)
@@ -10,14 +10,13 @@ package org.opendaylight.yangtools.yang.data.util;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeWithValue;
 import org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode;
 
-final class LeafListEntryContextNode extends AbstractLeafNodeContext<NodeWithValue> {
-
-    public LeafListEntryContextNode(final LeafListSchemaNode potential) {
-        super(new NodeWithValue(potential.getQName(), null), potential);
+final class LeafListEntryContextNode extends AbstractLeafNodeContext<NodeWithValue<?>> {
+    LeafListEntryContextNode(final LeafListSchemaNode potential) {
+        super(new NodeWithValue<>(potential.getQName(), null), potential);
     }
 
     @Override
     public boolean isKeyedEntry() {
         return true;
     }
-}
\ No newline at end of file
+}