jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppakul...@apache.org
Subject svn commit: r500891 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
Date Sun, 28 Jan 2007 21:34:42 GMT
Author: ppakulski
Date: Sun Jan 28 13:34:41 2007
New Revision: 500891

URL: http://svn.apache.org/viewvc?view=rev&rev=500891
Log:
issue JCR-720 fixed

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

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java?view=diff&rev=500891&r1=500890&r2=500891
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
Sun Jan 28 13:34:41 2007
@@ -638,7 +638,7 @@
         Node node = locateNodeWithoutPrimaryItem(testRootNode);
 
         if (node == null) {
-            throw new NotExecutableException("Workspace does not contain a node with primary
item defined");
+            throw new NotExecutableException("Workspace does not contain a node without primary
item defined");
         }
 
         try {
@@ -978,7 +978,7 @@
 
         NodeIterator nodes = node.getNodes();
         while (nodes.hasNext()) {
-            Node n = locateNodeWithPrimaryItem(nodes.nextNode());
+            Node n = locateNodeWithoutPrimaryItem(nodes.nextNode());
             if (n != null) {
                 return n;
             }



Mime
View raw message