jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (JCR-225) LockInfo.logginOut(SessionImpl): javadoc does not correspond to executed code
Date Mon, 14 Nov 2005 14:04:29 GMT
     [ http://issues.apache.org/jira/browse/JCR-225?page=all ]

angela reassigned JCR-225:
--------------------------

    Assign To: angela

> LockInfo.logginOut(SessionImpl): javadoc does not correspond to executed code
> -----------------------------------------------------------------------------
>
>          Key: JCR-225
>          URL: http://issues.apache.org/jira/browse/JCR-225
>      Project: Jackrabbit
>         Type: Improvement
>   Components: locks
>     Reporter: angela
>     Assignee: angela
>     Priority: Minor
>      Fix For: 1.0

>
> /**
>      * {@inheritDoc}
>      * <p/>
>      * When the owning session is logging out, we have to perform some
>      * operations depending on the lock type.
>      * (1) If the lock was session-scoped, we unlock the node.
>      * (2) If the lock was open-scoped, we remove the lock token
>      *     from the session.
>      */
>     public void loggingOut(SessionImpl session) {
>         if (live) {
>             if (sessionScoped) {
>                 lockMgr.unlock(this);
>             } else {
>                 if (session.equals(lockHolder)) {
>                     lockHolder = null;
>                 }
>             }
>         }
>     } 
> if (2) is true, the lockToken is not removed from the session (at least not within the
method).
> regards
> angela

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message