Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6323A200C42 for ; Sat, 25 Mar 2017 16:57:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 61C91160B96; Sat, 25 Mar 2017 15:57:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A7BC6160B7B for ; Sat, 25 Mar 2017 16:57:47 +0100 (CET) Received: (qmail 53962 invoked by uid 500); 25 Mar 2017 15:57:46 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 53940 invoked by uid 99); 25 Mar 2017 15:57:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2017 15:57:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C313E181069 for ; Sat, 25 Mar 2017 15:57:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YG89fo-KE6Os for ; Sat, 25 Mar 2017 15:57:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 83A1B5F5CA for ; Sat, 25 Mar 2017 15:57:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7A54EE06CC for ; Sat, 25 Mar 2017 15:57:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6FA0F24066 for ; Sat, 25 Mar 2017 15:57:42 +0000 (UTC) Date: Sat, 25 Mar 2017 15:57:42 +0000 (UTC) From: "Chia-Ping Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17821) The CompoundConfiguration#toString is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Mar 2017 15:57:48 -0000 [ https://issues.apache.org/jira/browse/HBASE-17821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai updated HBASE-17821: ----------------------------------- Attachment: HBase-17821-V1.patch > 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 > Assignee: Yi Liang > Priority: Trivial > Labels: beginner > Attachments: HBase-17821-V1.patch, HBase-17821-V1.patch > > > 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)