jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-782) TCK: LockTest.testGetLock compares Nodes with equals
Date Thu, 05 Apr 2007 12:08:33 GMT

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

Jukka Zitting updated JCR-782:
------------------------------

        Fix Version/s: 1.3
    Affects Version/s: 1.0
                       1.0.1
                       1.1
                       1.1.1
                       1.2.1
                       1.2.2
                       1.2.3

> TCK: LockTest.testGetLock compares Nodes with equals
> ----------------------------------------------------
>
>                 Key: JCR-782
>                 URL: https://issues.apache.org/jira/browse/JCR-782
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>    Affects Versions: 1.0, 1.0.1, 1.1, 1.1.1, 1.2.1, 1.2.2, 1.2.3
>            Reporter: angela
>            Priority: Trivial
>             Fix For: 1.3
>
>
> i think comparison by 'isSame' would be better.
> -> line 545
> -        assertTrue("lock holding node must be parent", lock.getNode().equals(n1));
> +        assertTrue("lock holding node must be parent", lock.getNode().isSame(n1));

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


Mime
View raw message