Skip to content

Commit bbedd1b

Browse files
committed
Merge branch '3.4.x' into 3.5.x
Closes gh-48135
2 parents 8494df1 + 79a99ee commit bbedd1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/CorrelationIdFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private CorrelationIdFormatter(List<Part> parts) {
8585
* @return a formatted correlation id
8686
*/
8787
public String format(UnaryOperator<String> resolver) {
88-
StringBuilder result = new StringBuilder();
88+
StringBuilder result = new StringBuilder(this.blank.length());
8989
formatTo(resolver, result);
9090
return result.toString();
9191
}

0 commit comments

Comments
 (0)