Adjust to yangtools-2.0.0/odlparent-3.0.0 changes
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / rpchandler / SettableRpc.java
index 1f2b97df6264f05bc382e5786efeb882169a2479..a85136564ae9b2617a3f481064d3c55b460af4b3 100644 (file)
@@ -27,7 +27,7 @@ class SettableRpc implements NetconfOperation {
 
     private final RpcHandler rpcHandler;
 
-    SettableRpc(RpcHandler rpcHandler) {
+    SettableRpc(final RpcHandler rpcHandler) {
         this.rpcHandler = rpcHandler;
     }
 
@@ -57,7 +57,7 @@ class SettableRpc implements NetconfOperation {
         }
     }
 
-    private void checkForError(final Document document) throws DocumentedException {
+    private static void checkForError(final Document document) throws DocumentedException {
         final XmlElement rpcReply = XmlElement.fromDomDocument(document);
         if (rpcReply.getOnlyChildElementOptionally("rpc-error").isPresent()) {
             throw DocumentedException.fromXMLDocument(document);