Skip to content

Commit

Permalink
HBASE-22284 optimization StringBuilder.append of AbstractMemStore.toS…
Browse files Browse the repository at this point in the history
…tring apache#182

(cherry picked from commit b086c5d)

Change-Id: I95b50ad0a182293d3830a91c64d2e0787431460d
  • Loading branch information
WenFeiYi authored and Jenkins committed Jun 9, 2019
1 parent 2f4ce84 commit 9a072dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public String toString() {
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){
Expand Down

0 comments on commit 9a072dd

Please sign in to comment.