Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-122

Use of null value if debug is enabled in Digester.resolveEntity()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8
    • 1.8.1, 2.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ddillard David Dillard
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: