You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2005/09/15 10:21:57 UTC

svn commit: r289176 - /incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java

Author: mreutegg
Date: Thu Sep 15 01:21:53 2005
New Revision: 289176

URL: http://svn.apache.org/viewcvs?rev=289176&view=rev
Log:
- Minor bug in NodeReadMethodsTest

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java?rev=289176&r1=289175&r2=289176&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java (original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/NodeReadMethodsTest.java Thu Sep 15 01:21:53 2005
@@ -1010,7 +1010,7 @@
                 return n;
             } else {
                 Node returnedNode = locateNodeWithSameNameSiblings(n);
-                if (n != null) {
+                if (returnedNode != null) {
                     return returnedNode;
                 }
             }