We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db5d1f commit fc930eeCopy full SHA for fc930ee
code-assert/src/main/java/guru/nidi/codeassert/checkstyle/CheckstyleAnalyzer.java
@@ -38,7 +38,9 @@ public class CheckstyleAnalyzer implements Analyzer<List<AuditEvent>> {
38
39
private static final Comparator<AuditEvent> EVENT_COMPARATOR = Comparator
40
.comparing(AuditEvent::getSeverityLevel)
41
- .thenComparing(e -> e.getLocalizedMessage().getKey());
+ .thenComparing(e -> e.getLocalizedMessage().getKey())
42
+ .thenComparing(AuditEvent::getFileName)
43
+ .thenComparing(AuditEvent::getLine);
44
45
private static class LoggingAuditListener implements AuditListener {
46
final List<AuditEvent> events = new ArrayList<>();
0 commit comments