sebastien-doyon commented on code in PR #1269: URL: https://github.com/apache/maven/pull/1269#discussion_r1365441412
########## maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java: ########## @@ -135,7 +136,7 @@ public synchronized void transferFailed(TransferEvent event) { private void overridePreviousTransfer(TransferEvent event) { if (lastLength > 0) { - StringBuilder buffer = new StringBuilder(128); + StringBuilder buffer = new StringBuilder(lastLength + 1); Review Comment: Good catch! I will remove the `Collections.synchronizedMap` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org