BUG-865: remove String-based getDataChildByName()
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / rest / services / impl / ContainerSchemaNodeImpl.java
index cf85579121c0d424f5b0668f19aa21d30fb82303..eb44432c545ff39e3fabc9e26fb500441bd20465 100644 (file)
@@ -62,16 +62,6 @@ class ContainerSchemaNodeImpl implements ContainerSchemaNode {
         throw new RestconfDocumentedException(name + " is not in child of " + this.qname);
     }
 
-    @Override
-    public DataSchemaNode getDataChildByName(final String name) {
-        for (final DataSchemaNode node : this.child) {
-            if (node.getQName().getLocalName().equals(name)) {
-                return node;
-            }
-        }
-        throw new RestconfDocumentedException(name + " is not in child of " + this.qname);
-    }
-
     @Override
     public Set<UsesNode> getUses() {
         throw new UnsupportedOperationException("Not supported.");