jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1144338 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java
Date Fri, 08 Jul 2011 14:33:27 GMT
Author: reschke
Date: Fri Jul  8 14:33:27 2011
New Revision: 1144338

URL: http://svn.apache.org/viewvc?rev=1144338&view=rev
Log:
JCR-3016 - cleanup and remove printStacktrace

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java?rev=1144338&r1=1144337&r2=1144338&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/OverlappingNodeAddTest.java
Fri Jul  8 14:33:27 2011
@@ -77,12 +77,13 @@ public class OverlappingNodeAddTest exte
             }
         }
 
-        // we don't have changes in s1, so the keepChanges flag should be irrelevant
+        // we don't have changes in s1, so the keepChanges flag should be
+        // irrelevant
         s1.refresh(false);
-        
+
         // be nice and get a new Node instance
         Node newf1 = s1.getNode(testpath + "/folder");
-        
+
         // if bWasSaved it should now be visible to Session 1
         assertEquals("'b' was saved, so session 1 should see it", bWasSaved,
                 newf1.hasNode("b"));
@@ -110,7 +111,6 @@ public class OverlappingNodeAddTest exte
                 try {
                     oldf1.getPath();
                 } catch (Exception ex) {
-                    ex.printStackTrace();
                     message += "; node with id "
                             + s1FolderId
                             + " can be retrieved using getNodeByIdentifier, but getPath()
fails with: "



Mime
View raw message