public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof BaseMqttMessage)) { equalsBuilder.appendSuper(false); return; } if (this == object) { return; } final BaseMqttMessage that = ((BaseMqttMessage) object); equalsBuilder.append(this.getValue(), that.getValue()); equalsBuilder.append(this.getTopic(), that.getTopic()); equalsBuilder.append(this.getQos(), that.getQos()); equalsBuilder.append(this.isRetained(), that.isRetained()); }