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