jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r580766 - in /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version: RemoveVersionTest.java VersionLabelTest.java
Date Sun, 30 Sep 2007 18:53:27 GMT
Author: reschke
Date: Sun Sep 30 11:53:27 2007
New Revision: 580766

URL: http://svn.apache.org/viewvc?rev=580766&view=rev
Log:
JCR-1137: fix another use of Item.equals(), remove import not used anymore with rev 580758.

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/RemoveVersionTest.java
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionLabelTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/RemoveVersionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/RemoveVersionTest.java?rev=580766&r1=580765&r2=580766&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/RemoveVersionTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/RemoveVersionTest.java
Sun Sep 30 11:53:27 2007
@@ -27,7 +27,6 @@
 import javax.jcr.version.VersionException;
 import javax.jcr.version.VersionHistory;
 import javax.jcr.version.VersionIterator;
-import java.util.Arrays;
 import java.util.ArrayList;
 import java.util.List;
 

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionLabelTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionLabelTest.java?rev=580766&r1=580765&r2=580766&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionLabelTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/version/VersionLabelTest.java
Sun Sep 30 11:53:27 2007
@@ -260,7 +260,7 @@
         vHistory.addVersionLabel(rootVersion.getName(), versionLabel, true);
         Version v = vHistory.getVersionByLabel(versionLabel);
 
-        assertEquals("VersionHistory.getVersionByLabel(String) must retrieve the particular
version that was specified in addVersionLabel call.", v, rootVersion);
+        assertTrue("VersionHistory.getVersionByLabel(String) must retrieve the particular
version that was specified in addVersionLabel call.", v.isSame(rootVersion));
     }
 
     /**



Mime
View raw message