Fixed ReportMessage equals() which broke repetition checking
This commit is contained in:
parent
c9b5c38368
commit
2405b73a28
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@ public class Report {
|
||||||
if ( o instanceof ReportMessage == false ) return false;
|
if ( o instanceof ReportMessage == false ) return false;
|
||||||
ReportMessage other = (ReportMessage)o;
|
ReportMessage other = (ReportMessage)o;
|
||||||
if ( this.type != other.type ) return false;
|
if ( this.type != other.type ) return false;
|
||||||
if ( this.text.equals(other.text) ) return false;
|
if ( !this.text.equals(other.text) ) return false;
|
||||||
|
|
||||||
if ( this.nestedMessages == null ) {
|
if ( this.nestedMessages == null ) {
|
||||||
if ( other.nestedMessages != null )
|
if ( other.nestedMessages != null )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue