BUG-865: remove String-based getDataChildByName()
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / DataNodeContainer.java
index de27fece30aa5ca7499c317cbb2b802645d8aba8..872a66ea6b66b6cc77795d848dff5fe651812a4f 100644 (file)
@@ -47,21 +47,8 @@ public interface DataNodeContainer {
      */
     DataSchemaNode getDataChildByName(QName name);
 
-    /**
-     * @param name
-     *            name of seeked child as String
-     * @return child node of this DataNodeContainer if child with given name is
-     *         present, null otherwise
-     *
-     * @deprecated This method disregards the namespace and thus leads to unpredictable results
-     *             when multiple children exist with the same localname, but with different namespaces.
-     */
-    @Deprecated
-    DataSchemaNode getDataChildByName(String name);
-
     /**
      * @return Set of all uses nodes defined within this DataNodeContainer
      */
     Set<UsesNode> getUses();
-
 }