You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stuart Freeman (JIRA)" <ji...@apache.org> on 2009/04/22 14:48:53 UTC
[jira] Closed: (SLING-934) AbstractSlingRepository.java unbindLog()
sets method scoped log to null
[ https://issues.apache.org/jira/browse/SLING-934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Freeman closed SLING-934.
--------------------------------
> 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
> Fix For: JCR Base 2.0.4
>
>
> 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.