HBASE-22284 optimization StringBuilder.append of AbstractMemStore.toString #182
This commit is contained in:
parent
9a5de434e1
commit
a316f0b25b
|
@ -259,7 +259,7 @@ public abstract class AbstractMemStore implements MemStore {
|
|||
int i = 1;
|
||||
try {
|
||||
for (Segment segment : getSegments()) {
|
||||
buf.append("Segment (" + i + ") " + segment.toString() + "; ");
|
||||
buf.append("Segment (").append(i).append(") ").append(segment.toString()).append("; ");
|
||||
i++;
|
||||
}
|
||||
} catch (IOException e){
|
||||
|
|
Loading…
Reference in New Issue