HBASE-19464 Replace StringBuffer with StringBuilder for hbase-common

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
BELUGA BEHR 2017-12-10 22:39:49 +08:00 committed by Chia-Ping Tsai
parent 3eb87802c8
commit a0b0bcede0
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ public class CompoundConfiguration extends Configuration {
@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);

View File

@ -124,7 +124,7 @@ public class RSGroupInfo {
@Override
public String toString() {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append("Name:");
sb.append(this.name);
sb.append(", ");