HBASE-19464 Replace StringBuffer with StringBuilder for hbase-common
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
3eb87802c8
commit
a0b0bcede0
|
@ -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);
|
||||
|
|
|
@ -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(", ");
|
||||
|
|
Loading…
Reference in New Issue