return new ImmutableChoiceNodeBuilder();
}
+ @Override
public ChoiceNode build() {
- return new ImmutableChoiceNode(nodeIdentifier, value);
+ return new ImmutableChoiceNode(getNodeIdentifier(), buildValue());
}
- static final class ImmutableChoiceNode
+ private static final class ImmutableChoiceNode
extends AbstractImmutableDataContainerNode<InstanceIdentifier.NodeIdentifier>
implements ChoiceNode {
- ImmutableChoiceNode(InstanceIdentifier.NodeIdentifier nodeIdentifier,
- Map<InstanceIdentifier.PathArgument, DataContainerChild<? extends InstanceIdentifier.PathArgument, ?>> children) {
+ ImmutableChoiceNode(final InstanceIdentifier.NodeIdentifier nodeIdentifier,
+ final Map<InstanceIdentifier.PathArgument, DataContainerChild<? extends InstanceIdentifier.PathArgument, ?>> children) {
super(children, nodeIdentifier);
}
-
}
}