commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Dillard (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIGESTER-122) Use of null value if debug is enabled in Digester.resolveEntity()
Date Fri, 28 Mar 2008 14:46:24 GMT
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.


Mime
View raw message