Introduce NormalizedNode.Builder interfaces
[yangtools.git] / data / yang-data-tree-ri / src / main / java / org / opendaylight / yangtools / yang / data / tree / impl / ChoiceModificationStrategy.java
index 32706aaf389041ee0a92684fa76e606bb12fde39..5c65500a21a6033a4d461a31d57ff3f744a0208f 100644 (file)
@@ -31,7 +31,7 @@ import org.opendaylight.yangtools.yang.model.api.ChoiceSchemaNode;
 final class ChoiceModificationStrategy extends Visible<ChoiceSchemaNode> {
     private static final NormalizedNodeContainerSupport<NodeIdentifier, ChoiceNode> SUPPORT =
             new NormalizedNodeContainerSupport<>(ChoiceNode.class, ImmutableChoiceNodeBuilder::create,
-                    ImmutableChoiceNodeBuilder::create);
+                    ImmutableChoiceNodeBuilder::new);
 
     private final ImmutableMap<PathArgument, ModificationApplyOperation> childNodes;
     // FIXME: enforce leaves not coming from two case statements at the same time