Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 072B3DB27 for ; Sat, 29 Sep 2012 18:53:48 +0000 (UTC) Received: (qmail 33040 invoked by uid 500); 29 Sep 2012 18:53:47 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 32945 invoked by uid 500); 29 Sep 2012 18:53:47 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 32935 invoked by uid 99); 29 Sep 2012 18:53:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 18:53:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 18:53:44 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id AE8A1A080; Sat, 29 Sep 2012 18:53:23 +0000 (UTC) From: bugzilla@apache.org To: log4j-dev@logging.apache.org Subject: [Bug 53948] New: ThrowableInformationPatternConverter does not need to import ThrowableInformation Date: Sat, 29 Sep 2012 18:53:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: harsh@cloudera.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: log4j-dev@logging.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: priority bug_id assigned_to short_desc bug_severity classification op_sys reporter rep_platform bug_status version component product Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53948 Priority: P2 Bug ID: 53948 Assignee: log4j-dev@logging.apache.org Summary: ThrowableInformationPatternConverter does not need to import ThrowableInformation Severity: enhancement Classification: Unclassified OS: All Reporter: harsh@cloudera.com Hardware: All Status: NEW Version: 1.2 Component: Other Product: Log4j Trivial/Non-problem/Code-nit thing: Since LoggingEvent.getThrowableStrRep(); exists, we do not need to use and store the LoggingEvent.getThrowableInformation() returned object for the String[] representation of the throwable information. A patch is attached that refactors this, leading to one less import. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org