Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17821

The CompoundConfiguration#toString is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • Reviewed

    Description

      Find this bug when reading code. We dont use the API, so it is a trivial bug.
      sb.append(this.configs); -> sb.append(m);

        @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();
        }
      

      Attachments

        1. HBase-17821-V1.patch
          1 kB
          Yi Liang
        2. HBase-17821-V1.patch
          1 kB
          Chia-Ping Tsai

        Activity

          People

            easyliangjob Yi Liang
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: