private final RpcHandler rpcHandler;
- SettableRpc(RpcHandler rpcHandler) {
+ SettableRpc(final RpcHandler rpcHandler) {
this.rpcHandler = rpcHandler;
}
}
}
- 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);