Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1076

[PATCH] invalid comparison in LogListenerProxy.hasBundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Commons Log 2.0.6
    • Commons Log 2.1.0
    • Commons
    • None

    Description

      code incorrectly compares the parm to the parm. as such

      /* package */boolean hasBundle(Bundle bundle)

      { return bundle == bundle; }

      instead of to the field.

      patch fixes.

      Attachments

        1. badcompare.diff
          0.6 kB
          David Brosius

        Activity

          People

            fmeschbe Felix Meschberger
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: