jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-782) TCK: LockTest.testGetLock compares Nodes with equals
Date Fri, 09 Mar 2007 14:46:24 GMT

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

Marcel Reutegger resolved JCR-782.
----------------------------------

    Resolution: Fixed

Agreed. Fixed in revision: 516420

Thanks for reporting this issue.

> 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
>            Reporter: angela
>            Priority: Trivial
>
> 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