The schema was never used since check if rpc qname is get/get-config was performed using == instead of equals. (Result of xtend -> java transform)
Change-Id: I057476f27b5c84b87ca9c81c51bde24990d17ff1
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
}
public static boolean isDataRetrievalOperation(final QName rpc) {
- return NETCONF_URI == rpc.getNamespace()
+ return NETCONF_URI.equals(rpc.getNamespace())
&& (rpc.getLocalName().equals(NETCONF_GET_CONFIG_QNAME.getLocalName()) || rpc.getLocalName().equals(
NETCONF_GET_QNAME.getLocalName()));
}