diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java index b0b141c3617..93164dfd393 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AbstractMemStore.java @@ -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){