}
}
- 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);