You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/03/23 05:52:41 UTC

[jira] [Created] (HBASE-17821) The CompoundConfiguration#toString is wrong

Chia-Ping Tsai created HBASE-17821:
--------------------------------------

             Summary: The CompoundConfiguration#toString is wrong
                 Key: HBASE-17821
                 URL: https://issues.apache.org/jira/browse/HBASE-17821
             Project: HBase
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Priority: Trivial


Find this bug when reading code. We dont use the API, so it is a trivial bug.
sb.append(this.configs); -> sb.append(m);
{noformat}
  @Override
  public String toString() {
    StringBuffer sb = new StringBuffer();
    sb.append("CompoundConfiguration: " + this.configs.size() + " configs");
    for (ImmutableConfigMap m : this.configs) {
      sb.append(this.configs);
    }
    return sb.toString();
  }
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)