Remove duplicate netconf namespace constant
[controller.git] / opendaylight / netconf / netconf-monitoring / src / main / java / org / opendaylight / controller / netconf / monitoring / Get.java
index 1b32b52e53476917e4ca57b6f25905fcc5bbd537..08da36148fa235cf20e8b006c052f985342e4dbf 100644 (file)
@@ -40,7 +40,7 @@ public class Get extends AbstractNetconfOperation {
     private Element getPlaceholder(Document innerResult) {
         try {
             XmlElement rootElement = XmlElement.fromDomElementWithExpected(innerResult.getDocumentElement(),
-                    XmlNetconfConstants.RPC_REPLY_KEY, XmlNetconfConstants.RFC4741_TARGET_NAMESPACE);
+                    XmlNetconfConstants.RPC_REPLY_KEY, XmlNetconfConstants.URN_IETF_PARAMS_XML_NS_NETCONF_BASE_1_0);
             return rootElement.getOnlyChildElement(XmlNetconfConstants.DATA_KEY).getDomElement();
         } catch (RuntimeException e) {
             throw new IllegalArgumentException(String.format(