Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 94107 invoked from network); 19 Dec 2008 13:52:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2008 13:52:13 -0000 Received: (qmail 63432 invoked by uid 500); 19 Dec 2008 13:52:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 63287 invoked by uid 500); 19 Dec 2008 13:52:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 63276 invoked by uid 99); 19 Dec 2008 13:52:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 05:52:23 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 13:52:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7899A234C463 for ; Fri, 19 Dec 2008 05:51:44 -0800 (PST) Message-ID: <1836126151.1229694704492.JavaMail.jira@brutus> Date: Fri, 19 Dec 2008 05:51:44 -0800 (PST) From: "Yannick Loth (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (CHAIN-46) Override toString() method in class ContextBase In-Reply-To: <876645305.1229681864371.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CHAIN-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yannick Loth closed CHAIN-46. ----------------------------- Resolution: Invalid > Override toString() method in class ContextBase > ----------------------------------------------- > > Key: CHAIN-46 > URL: https://issues.apache.org/jira/browse/CHAIN-46 > Project: Commons Chain > Issue Type: Improvement > Affects Versions: 1.2 > Environment: Does not depend on the environment. > Reporter: Yannick Loth > Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > Override toString() method in ContextBase so that logging the context does not only print the reference to the context instance but the contents of the context, as ContextBase[key=value,key=value,...,key=value] > Right now, when logging a ContextBase, I get : [Ljava.lang.Object;@1bef1ac > Which is not very explicit on the state/contents of the context > Do not forget to print the contents of the underlying Map and from the local properties. > One example of result would be > ContextBase[Map[key=value,key=value,...,key=value],key=value,...,key=value] > where first the map is "toStringed" and then the local properties. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.