HBASE-22284 optimization StringBuilder.append of AbstractMemStore.toString #182
This commit is contained in:
parent
a4983d8185
commit
5ae8bc4974
|
@ -187,7 +187,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