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
+}