You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/03/09 15:46:24 UTC
[jira] Resolved: (JCR-782) TCK: LockTest.testGetLock compares Nodes
with equals
[ 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.