jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1357176 - /jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java
Date Wed, 04 Jul 2012 08:50:13 GMT
Author: ard
Date: Wed Jul  4 08:50:12 2012
New Revision: 1357176

URL: http://svn.apache.org/viewvc?rev=1357176&view=rev
Log:
OCM-47 fix comment

Modified:
    jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java?rev=1357176&r1=1357175&r2=1357176&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/auto/AnnotationAutoTest.java
Wed Jul  4 08:50:12 2012
@@ -79,7 +79,7 @@ public class AnnotationAutoTest extends 
 	    	    	
 	    folder.addChild(document);
 	    folder.addChild(subFolder);
-	    ocm.insert(folder);               		
+	    ocm.insert(folder);
 		ocm.save();
 		
 		//---------------------------------------------------------------------------------------------------------

@@ -87,7 +87,7 @@ public class AnnotationAutoTest extends 
 		//---------------------------------------------------------------------------------------------------------

 		Folder folder2 = (Folder) ocm.getObject( "/folder2");
 		assertNotNull("folder 2 is null", folder2);
-		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoInsert = false
+		assertEquals("Invalid number of cms object  found in folder2 children", folder2.getChildren().size()
,0); // autoRetrieve = false
 		
 		//---------------------------------------------------------------------------------------------------------

 		// Insert nested objects
@@ -118,7 +118,6 @@ public class AnnotationAutoTest extends 
 		folder2.setChildren(null);
 		ocm.update(folder2); // autoupdate = false for the children attribute. So no update on
the children collection
 		ocm.save();
-
 		//---------------------------------------------------------------------------------------------------------

 		// Retrieve children attribute
 		//---------------------------------------------------------------------------------------------------------
		



Mime
View raw message