[ 
https://issues.apache.org/jira/browse/SLING-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dave Brosius updated SLING-1076:
--------------------------------

    Attachment: badcompare.diff

patch for bad compare

> [PATCH] invalid comparison in LogListenerProxy.hasBundle
> --------------------------------------------------------
>
>                 Key: SLING-1076
>                 URL: https://issues.apache.org/jira/browse/SLING-1076
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons Log
>    Affects Versions: Commons Log 2.0.6
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: badcompare.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to