Skip to content

Commit

Permalink
HBASE-19464 Replace StringBuffer with StringBuilder for hbase-common
Browse files Browse the repository at this point in the history
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
  • Loading branch information
belugabehr authored and chia7712 committed Dec 10, 2017
1 parent 3eb8780 commit a0b0bce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -261,7 +261,7 @@ public String toString() {

@Override
public String toString() {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append("CompoundConfiguration: " + this.configs.size() + " configs");
for (ImmutableConfigMap m : this.configs) {
sb.append(m);
Expand Down
Expand Up @@ -124,7 +124,7 @@ public boolean removeTable(TableName table) {

@Override
public String toString() {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append("Name:");
sb.append(this.name);
sb.append(", ");
Expand Down

0 comments on commit a0b0bce

Please sign in to comment.