jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1343797 - in /jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query: AnnotationIteratorQueryTest.java DigesterIteratorQueryTest.java
Date Tue, 29 May 2012 15:58:49 GMT
Author: ard
Date: Tue May 29 15:58:49 2012
New Revision: 1343797

URL: http://svn.apache.org/viewvc?rev=1343797&view=rev
Log:
OCM-47 replace deprecated methods

Modified:
    jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationIteratorQueryTest.java
    jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterIteratorQueryTest.java

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationIteratorQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationIteratorQueryTest.java?rev=1343797&r1=1343796&r2=1343797&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationIteratorQueryTest.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationIteratorQueryTest.java
Tue May 29 15:58:49 2012
@@ -141,8 +141,8 @@ public class AnnotationIteratorQueryTest
 			root.addNode("test");
 			root.addNode("test/node1");
 			root.addNode("test/node2");
-			
-			root.save();
+
+            session.save();
 			
 			Page page = new Page();
 			page.setPath("/test/node1/page1");

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterIteratorQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterIteratorQueryTest.java?rev=1343797&r1=1343796&r2=1343797&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterIteratorQueryTest.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterIteratorQueryTest.java
Tue May 29 15:58:49 2012
@@ -132,8 +132,8 @@ public class DigesterIteratorQueryTest e
 			root.addNode("test");
 			root.addNode("test/node1");
 			root.addNode("test/node2");
-			
-			root.save();
+
+            session.save();
 			
 			Page page = new Page();
 			page.setPath("/test/node1/page1");



Mime
View raw message