Fixed bug in which a check logs multiple LocalizedMessages with identical
line, column, and key; and only the first such message is added. For example, this occurs with TranslationCheck.
This commit is contained in:
parent
d025e33b24
commit
8d6a11074c
|
|
@ -270,7 +270,7 @@ public final class LocalizedMessage
|
|||
final LocalizedMessage lt = (LocalizedMessage) aOther;
|
||||
if (getLineNo() == lt.getLineNo()) {
|
||||
if (getColumnNo() == lt.getColumnNo()) {
|
||||
return mKey.compareTo(lt.mKey);
|
||||
return getMessage().compareTo(lt.getMessage());
|
||||
}
|
||||
return (getColumnNo() < lt.getColumnNo()) ? -1 : 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue