Fix equality method that caused missed WARNING messages
This commit is contained in:
parent
231b18edad
commit
413592e544
|
@ -757,7 +757,11 @@ public class ValidationMessage implements Comparator<ValidationMessage>, Compara
|
|||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
return (this.getMessage() != null && this.getMessage().equals(((ValidationMessage)o).getMessage())) && (this.getLocation() != null && this.getLocation().equals(((ValidationMessage)o).getLocation()));
|
||||
return (
|
||||
this.getMessage() != null && this.getMessage().equals(((ValidationMessage)o).getMessage()))
|
||||
&& (this.getLocation() != null && this.getLocation().equals(((ValidationMessage)o).getLocation()))
|
||||
&& (this.getLevel() != null && this.getLevel().equals(((ValidationMessage)o).getLevel()))
|
||||
;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue