mirror of https://github.com/grpc/grpc-java.git
testing: Use StringBuilder instead of StringBuffer
We don't need the synchronization StringBuffer provides
This commit is contained in:
parent
5856a932c3
commit
733f5ac665
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue