Remove concatenation with empty string

This commit is contained in:
Trustin Lee 2012-11-09 17:55:28 +09:00
parent 96a769805b
commit 8c0e5626c2

View File

@ -136,7 +136,7 @@ public abstract class MultithreadEventExecutorGroup implements EventExecutorGrou
DefaultThreadFactory() { DefaultThreadFactory() {
String typeName = MultithreadEventExecutorGroup.this.getClass().getSimpleName(); String typeName = MultithreadEventExecutorGroup.this.getClass().getSimpleName();
typeName = "" + Character.toLowerCase(typeName.charAt(0)) + typeName.substring(1); typeName = Character.toLowerCase(typeName.charAt(0)) + typeName.substring(1);
prefix = typeName + '-' + poolId.incrementAndGet() + '-'; prefix = typeName + '-' + poolId.incrementAndGet() + '-';
} }