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

Felix Meschberger reassigned SLING-934:
---------------------------------------

    Assignee: Felix Meschberger

> AbstractSlingRepository.java unbindLog() sets method scoped log to null
> -----------------------------------------------------------------------
>
>                 Key: SLING-934
>                 URL: https://issues.apache.org/jira/browse/SLING-934
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Stuart Freeman
>            Assignee: Felix Meschberger
>
> bundles/jcr/base/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepository.java
>  contains the following snippet:
>   protected void unbindLog(LogService log) {
>     if (this.log == log) {
>      log = null;
>     }   
>   }
> That sets the method scoped log to null, not the instance scoped this.log.  I 
> beleive it should look like:
>   protected void unbindLog(LogService log) {
>     if (this.log == log) {
>      this.log = null;
>     }   
>   }

-- 
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