testing: Use StringBuilder instead of StringBuffer

We don't need the synchronization StringBuffer provides
This commit is contained in:
Eric Anderson 2017-10-27 14:56:01 -07:00
parent 5856a932c3
commit 733f5ac665
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ public abstract class AbstractTransportTest {
String largeMessage;
{
int size = 1 * 1024;
StringBuffer sb = new StringBuffer(size);
StringBuilder sb = new StringBuilder(size);
for (int i = 0; i < size; i++) {
sb.append('a');
}