jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r516420 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
Date Fri, 09 Mar 2007 14:44:23 GMT
Author: mreutegg
Date: Fri Mar  9 06:44:23 2007
New Revision: 516420

URL: http://svn.apache.org/viewvc?view=rev&rev=516420
Log:
JCR-782: TCK: LockTest.testGetLock compares Nodes with equals

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java?view=diff&rev=516420&r1=516419&r2=516420
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/lock/LockTest.java
Fri Mar  9 06:44:23 2007
@@ -542,7 +542,7 @@
         Lock lock = n2.getLock();
 
         // lock holding node must be parent
-        assertTrue("lock holding node must be parent", lock.getNode().equals(n1));
+        assertTrue("lock holding node must be parent", lock.getNode().isSame(n1));
     }
 
     /**



Mime
View raw message