private final XmlElement xmlElement;
private final int hashCode;
- private Request(final XmlElement element) {
+ Request(final XmlElement element) {
this.xmlElement = element;
hashCode = XmlUtil.toString(element)
.replaceAll("message-id=.*(>| )", "") //message id is variable, remove it
}
}
- if (e1Children.isEmpty() && e1Children.isEmpty()) {
+ if (e1Children.isEmpty() && e2Children.isEmpty()) {
try {
return e1.getTextContent().equals(e2.getTextContent());
} catch (final DocumentedException e) {