jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r640751 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
Date Tue, 25 Mar 2008 09:33:28 GMT
Author: mreutegg
Date: Tue Mar 25 02:33:26 2008
New Revision: 640751

URL: http://svn.apache.org/viewvc?rev=640751&view=rev
Log:
JCR-1490: [PATCH] UpdateTest has two typos

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java?rev=640751&r1=640750&r2=640751&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/test/java/org/apache/jackrabbit/jcr2spi/UpdateTest.java
Tue Mar 25 02:33:26 2008
@@ -74,7 +74,7 @@
 
         String srcWorkspace = null;
         for (int i = 0; i < accessibleWorkspaces.length; i++) {
-            if (!accessibleWorkspaces.equals(currentWorkspace)) {
+            if (!accessibleWorkspaces[i].equals(currentWorkspace)) {
                 try {
                     n.getCorrespondingNodePath(accessibleWorkspaces[i]);
                 } catch (ItemNotFoundException e) {
@@ -207,7 +207,7 @@
     private String getAnotherWorkspace() throws NotExecutableException {
         String srcWorkspace = null;
         for (int i = 0; i < accessibleWorkspaces.length; i++) {
-            if (!accessibleWorkspaces.equals(currentWorkspace)) {
+            if (!accessibleWorkspaces[i].equals(currentWorkspace)) {
                 srcWorkspace = accessibleWorkspaces[i];
             }
         }
@@ -216,4 +216,4 @@
         }
         return srcWorkspace;
     }
-}
\ No newline at end of file
+}



Mime
View raw message