Our StringWriter
usage in several message converters and in FileCopyUtils
effectively initializes a StringBuffer
with a default initial capacity of 16. Since we use an initial size of 1024 for messages and 4096 for files in case of a byte array, we should align there for our equivalent StringWriter
code paths.