Update StoreTreeNode methods
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / ChoiceModificationStrategy.java
index b79371f48dbc71150cbfe1f21099c92a3805d038..a5ba03432e0c5a2d0c63dbb8f2ec45e1658cf039 100644 (file)
@@ -101,8 +101,8 @@ final class ChoiceModificationStrategy extends Visible<ChoiceSchemaNode> {
     }
 
     @Override
-    public Optional<ModificationApplyOperation> getChild(final PathArgument child) {
-        return Optional.ofNullable(childNodes.get(child));
+    public ModificationApplyOperation childByArg(final PathArgument arg) {
+        return childNodes.get(arg);
     }
 
     @Override