Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 59323 invoked from network); 28 Mar 2008 14:48:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 14:48:40 -0000 Received: (qmail 69433 invoked by uid 500); 28 Mar 2008 14:48:37 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 69369 invoked by uid 500); 28 Mar 2008 14:48:37 -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 69360 invoked by uid 99); 28 Mar 2008 14:48:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 07:48:37 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 28 Mar 2008 14:48:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89E77234C0A8 for ; Fri, 28 Mar 2008 07:46:24 -0700 (PDT) Message-ID: <1131148795.1206715584563.JavaMail.jira@brutus> Date: Fri, 28 Mar 2008 07:46:24 -0700 (PDT) From: "David Dillard (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (DIGESTER-122) Use of null value if debug is enabled in Digester.resolveEntity() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Use of null value if debug is enabled in Digester.resolveEntity() ----------------------------------------------------------------- Key: DIGESTER-122 URL: https://issues.apache.org/jira/browse/DIGESTER-122 Project: Commons Digester Issue Type: Bug Affects Versions: 1.8 Reporter: David Dillard Priority: Minor Here's the code: if (entityURL == null) { if (systemId == null) { // cannot resolve if (log.isDebugEnabled()) { log.debug(" Cannot resolve entity: '" + entityURL + "'"); entityURL is known to be null and then it's used in the log message. This was detected by FindBugs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.