Avoid printing logging messages twice
This commit is contained in:
+3
-1
@@ -54,7 +54,9 @@ public class PrintingMessageCollector implements MessageCollector {
|
|||||||
}
|
}
|
||||||
errStream.println(text);
|
errStream.println(text);
|
||||||
}
|
}
|
||||||
groupedMessages.put(location.getPath(), text);
|
else {
|
||||||
|
groupedMessages.put(location.getPath(), text);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void printToErrStream() {
|
public void printToErrStream() {
|
||||||
|
|||||||
Reference in New Issue
Block a user