jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1343782 [3/3] - in /jackrabbit/commons/ocm/trunk/src: main/java/org/apache/jackrabbit/ocm/manager/atomictypeconverter/impl/ main/java/org/apache/jackrabbit/ocm/manager/beanconverter/impl/ main/java/org/apache/jackrabbit/ocm/manager/collect...
Date Tue, 29 May 2012 15:36:12 GMT
Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/lock/DigesterLockTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/lock/DigesterLockTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/lock/DigesterLockTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/lock/DigesterLockTest.java Tue May 29 15:36:07 2012
@@ -22,8 +22,6 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.lock.Lock;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -31,6 +29,8 @@ import org.apache.jackrabbit.ocm.testmod
 import org.apache.jackrabbit.ocm.testmodel.B;
 import org.apache.jackrabbit.ocm.testmodel.C;
 import org.apache.jackrabbit.ocm.testmodel.Lockable;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test object content Manager lock feature
@@ -39,7 +39,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterLockTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterLockTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterLockTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/AnnotationProxyTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/AnnotationProxyTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/AnnotationProxyTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/AnnotationProxyTest.java Tue May 29 15:36:07 2012
@@ -22,14 +22,14 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.proxy.Detail;
 import org.apache.jackrabbit.ocm.testmodel.proxy.Main;
 import org.apache.jackrabbit.ocm.testmodel.proxy.NTDetail;
 import org.apache.jackrabbit.ocm.testmodel.proxy.NTMain;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test inheritance with node type per concrete class (without  discreminator field)
@@ -37,7 +37,7 @@ import org.apache.jackrabbit.ocm.testmod
  * @author <a href="mailto:christophe.lombart@gmail.com">Christophe Lombart</a>
  */
 public class AnnotationProxyTest extends AnnotationTestBase {
-	private final static Log log = LogFactory.getLog(AnnotationProxyTest.class);
+	private final static Logger log = LoggerFactory.getLogger(AnnotationProxyTest.class);
 
 	/**
 	 * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/DigesterProxyTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/DigesterProxyTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/DigesterProxyTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/proxy/DigesterProxyTest.java Tue May 29 15:36:07 2012
@@ -22,14 +22,14 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.proxy.Detail;
 import org.apache.jackrabbit.ocm.testmodel.proxy.Main;
 import org.apache.jackrabbit.ocm.testmodel.proxy.NTDetail;
 import org.apache.jackrabbit.ocm.testmodel.proxy.NTMain;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test inheritance with node type per concrete class (without  discreminator field)
@@ -37,7 +37,7 @@ import org.apache.jackrabbit.ocm.testmod
  * @author <a href="mailto:christophe.lombart@gmail.com">Christophe Lombart</a>
  */
 public class DigesterProxyTest extends DigesterTestBase {
-	private final static Log log = LogFactory.getLog(DigesterProxyTest.class);
+	private final static Logger log = LoggerFactory.getLogger(DigesterProxyTest.class);
 
 	/**
 	 * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationAtomicQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationAtomicQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationAtomicQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationAtomicQueryTest.java Tue May 29 15:36:07 2012
@@ -25,14 +25,14 @@ import java.util.Date;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.query.Filter;
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Atomic;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test Query on atomic fields
@@ -41,7 +41,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationAtomicQueryTest extends AnnotationTestBase
 {
-	private final static Log log = LogFactory.getLog(AnnotationAtomicQueryTest.class);
+	private final static Logger log = LoggerFactory.getLogger(AnnotationAtomicQueryTest.class);
 	private Date date = new Date();
 
 	/**

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=1343782&r1=1343781&r2=1343782&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:36:07 2012
@@ -25,8 +25,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -37,6 +35,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -46,7 +46,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationIteratorQueryTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationIteratorQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationIteratorQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationMultiValueQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationMultiValueQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationMultiValueQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationMultiValueQueryTest.java Tue May 29 15:36:07 2012
@@ -24,8 +24,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl;
@@ -33,6 +31,8 @@ import org.apache.jackrabbit.ocm.query.F
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.MultiValue;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test NTCollectionConverterImpl
@@ -41,7 +41,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationMultiValueQueryTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationMultiValueQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationMultiValueQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationScopeQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationScopeQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationScopeQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationScopeQueryTest.java Tue May 29 15:36:07 2012
@@ -25,8 +25,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -36,6 +34,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -45,7 +45,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationScopeQueryTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationScopeQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationScopeQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationSimpleQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationSimpleQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationSimpleQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/AnnotationSimpleQueryTest.java Tue May 29 15:36:07 2012
@@ -22,8 +22,6 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -32,6 +30,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -41,7 +41,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationSimpleQueryTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationSimpleQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationSimpleQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterAtomicQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterAtomicQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterAtomicQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterAtomicQueryTest.java Tue May 29 15:36:07 2012
@@ -25,14 +25,14 @@ import java.util.Date;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.query.Filter;
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Atomic;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test Query on atomic fields
@@ -41,7 +41,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterAtomicQueryTest extends DigesterTestBase
 {
-	private final static Log log = LogFactory.getLog(DigesterAtomicQueryTest.class);
+	private final static Logger log = LoggerFactory.getLogger(DigesterAtomicQueryTest.class);
 	private Date date = new Date();
 
 	/**

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=1343782&r1=1343781&r2=1343782&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:36:07 2012
@@ -26,8 +26,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -37,6 +35,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -46,7 +46,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterIteratorQueryTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterIteratorQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterIteratorQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterMultiValueQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterMultiValueQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterMultiValueQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterMultiValueQueryTest.java Tue May 29 15:36:07 2012
@@ -24,8 +24,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl;
@@ -33,6 +31,8 @@ import org.apache.jackrabbit.ocm.query.F
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.MultiValue;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test NTCollectionConverterImpl
@@ -41,7 +41,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterMultiValueQueryTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterMultiValueQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterMultiValueQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterScopeQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterScopeQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterScopeQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterScopeQueryTest.java Tue May 29 15:36:07 2012
@@ -25,8 +25,6 @@ import javax.jcr.Session;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -36,6 +34,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -45,7 +45,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterScopeQueryTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterScopeQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterScopeQueryTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java Tue May 29 15:36:07 2012
@@ -24,8 +24,6 @@ import javax.jcr.Node;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.exception.JcrMappingException;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
@@ -35,6 +33,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.impl.QueryImpl;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test QueryManagerImpl Query methods
@@ -43,7 +43,7 @@ import org.apache.jackrabbit.ocm.testmod
  *         Lombart</a>
  */
 public class DigesterSimpleQueryTest extends DigesterTestBase {
-    private final static Log log = LogFactory.getLog(DigesterSimpleQueryTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterSimpleQueryTest.class);
 
     /**
      * <p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/simplemapping/AnnotationSimpleTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/simplemapping/AnnotationSimpleTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/simplemapping/AnnotationSimpleTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/simplemapping/AnnotationSimpleTest.java Tue May 29 15:36:07 2012
@@ -22,8 +22,6 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.query.Filter;
@@ -31,6 +29,8 @@ import org.apache.jackrabbit.ocm.query.Q
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.SimpleAnnotedClass;
 import org.apache.jackrabbit.ocm.testmodel.SimpleInterface;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test atomic persistence fields
@@ -39,7 +39,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationSimpleTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationSimpleTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationSimpleTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/AnnotationUuidTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/AnnotationUuidTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/AnnotationUuidTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/AnnotationUuidTest.java Tue May 29 15:36:07 2012
@@ -22,14 +22,14 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.uuid.A;
 import org.apache.jackrabbit.ocm.testmodel.uuid.B;
 import org.apache.jackrabbit.ocm.testmodel.uuid.B2;
 import org.apache.jackrabbit.ocm.testmodel.uuid.Descendant;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -39,7 +39,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationUuidTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationUuidTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationUuidTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>
@@ -173,7 +173,7 @@ public class AnnotationUuidTest extends 
             catch(Exception e)
             {
             	//Throws an exception due to an invalid uuid
-            	log.info(e);
+                log.info("Invalid uuid : " + e);
 
             }
 

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/DigesterUuidTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/DigesterUuidTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/DigesterUuidTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/uuid/DigesterUuidTest.java Tue May 29 15:36:07 2012
@@ -22,14 +22,14 @@ import java.util.Collection;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.uuid.A;
 import org.apache.jackrabbit.ocm.testmodel.uuid.B;
 import org.apache.jackrabbit.ocm.testmodel.uuid.B2;
 import org.apache.jackrabbit.ocm.testmodel.uuid.Descendant;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -39,7 +39,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterUuidTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterUuidTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterUuidTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>
@@ -121,8 +121,7 @@ public class DigesterUuidTest extends Di
             catch(Exception e)
             {
             	//Throws an exception due to an invalid uuid
-            	log.info(e);
-
+                log.info("Invalid uuid : " + e);
             }
 
 

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/AnnotationBasicVersionningTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/AnnotationBasicVersionningTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/AnnotationBasicVersionningTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/AnnotationBasicVersionningTest.java Tue May 29 15:36:07 2012
@@ -22,8 +22,6 @@ import java.util.Date;
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
@@ -34,6 +32,8 @@ import org.apache.jackrabbit.ocm.testmod
 import org.apache.jackrabbit.ocm.testmodel.version.PressRelease;
 import org.apache.jackrabbit.ocm.version.Version;
 import org.apache.jackrabbit.ocm.version.VersionIterator;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test Query on atomic fields
@@ -42,7 +42,7 @@ import org.apache.jackrabbit.ocm.version
  */
 public class AnnotationBasicVersionningTest extends AnnotationTestBase
 {
-	private final static Log log = LogFactory.getLog(AnnotationBasicVersionningTest.class);
+	private final static Logger log = LoggerFactory.getLogger(AnnotationBasicVersionningTest.class);
 
 	/**
 	 * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/DigesterBasicVersionningTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/DigesterBasicVersionningTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/DigesterBasicVersionningTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/manager/version/DigesterBasicVersionningTest.java Tue May 29 15:36:07 2012
@@ -20,14 +20,14 @@ package org.apache.jackrabbit.ocm.manage
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.manager.ObjectContentManager;
 import org.apache.jackrabbit.ocm.testmodel.Page;
 import org.apache.jackrabbit.ocm.testmodel.Paragraph;
 import org.apache.jackrabbit.ocm.version.Version;
 import org.apache.jackrabbit.ocm.version.VersionIterator;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Test Query on atomic fields
@@ -36,7 +36,7 @@ import org.apache.jackrabbit.ocm.version
  */
 public class DigesterBasicVersionningTest extends DigesterTestBase
 {
-	private final static Log log = LogFactory.getLog(DigesterBasicVersionningTest.class);
+	private final static Logger log = LoggerFactory.getLogger(DigesterBasicVersionningTest.class);
 	
 	
 	/**

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/TestBase.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/TestBase.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/TestBase.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/TestBase.java Tue May 29 15:36:07 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.ocm.nodema
 
 import javax.jcr.Session;
 import javax.jcr.nodetype.PropertyDefinition;
-
 import junit.framework.TestCase;
 
 import org.apache.jackrabbit.ocm.nodemanagement.impl.RepositoryConfiguration;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImplTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImplTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/nodemanagement/impl/jackrabbit/NodeTypeManagerImplTest.java Tue May 29 15:36:07 2012
@@ -22,8 +22,8 @@ import javax.jcr.PropertyType;
 import javax.jcr.nodetype.NodeDefinition;
 import javax.jcr.nodetype.NodeType;
 import javax.jcr.nodetype.PropertyDefinition;
-
-import junit.framework.*;
+import junit.framework.Test;
+import junit.framework.TestSuite;
 
 import org.apache.jackrabbit.ocm.mapper.model.BeanDescriptor;
 import org.apache.jackrabbit.ocm.mapper.model.ClassDescriptor;
@@ -32,7 +32,6 @@ import org.apache.jackrabbit.ocm.mapper.
 import org.apache.jackrabbit.ocm.nodemanagement.TestBase;
 import org.apache.jackrabbit.ocm.nodemanagement.exception.NamespaceCreationException;
 import org.apache.jackrabbit.ocm.nodemanagement.exception.NodeTypeCreationException;
-import org.apache.jackrabbit.ocm.nodemanagement.impl.jackrabbit.NodeTypeManagerImpl;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/AnnotationQueryManagerTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/AnnotationQueryManagerTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/AnnotationQueryManagerTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/AnnotationQueryManagerTest.java Tue May 29 15:36:07 2012
@@ -19,13 +19,13 @@ package org.apache.jackrabbit.ocm.querym
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.AnnotationTestBase;
 import org.apache.jackrabbit.ocm.query.Filter;
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.C;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -35,7 +35,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class AnnotationQueryManagerTest extends AnnotationTestBase
 {
-    private final static Log log = LogFactory.getLog(AnnotationQueryManagerTest.class);
+    private final static Logger log = LoggerFactory.getLogger(AnnotationQueryManagerTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/DigesterQueryManagerTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/DigesterQueryManagerTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/DigesterQueryManagerTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/querymanager/DigesterQueryManagerTest.java Tue May 29 15:36:07 2012
@@ -19,13 +19,13 @@ package org.apache.jackrabbit.ocm.querym
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.DigesterTestBase;
 import org.apache.jackrabbit.ocm.query.Filter;
 import org.apache.jackrabbit.ocm.query.Query;
 import org.apache.jackrabbit.ocm.query.QueryManager;
 import org.apache.jackrabbit.ocm.testmodel.C;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -35,7 +35,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class DigesterQueryManagerTest extends DigesterTestBase
 {
-    private final static Log log = LogFactory.getLog(DigesterQueryManagerTest.class);
+    private final static Logger log = LoggerFactory.getLogger(DigesterQueryManagerTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/NodeUtilTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/NodeUtilTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/NodeUtilTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/NodeUtilTest.java Tue May 29 15:36:07 2012
@@ -16,10 +16,7 @@
  */
 package org.apache.jackrabbit.ocm.repository;
 
-import junit.extensions.TestSetup;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /** Testcase for RepositoryUtil.
  *

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RelfectionUtilTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RelfectionUtilTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RelfectionUtilTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RelfectionUtilTest.java Tue May 29 15:36:07 2012
@@ -26,10 +26,10 @@ import java.util.SortedMap;
 
 import junit.framework.TestCase;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.reflection.ReflectionUtils;
 import org.apache.jackrabbit.ocm.testmodel.collection.CustomList;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /** Testcase for ReflectionUtils.
  *
@@ -38,7 +38,7 @@ import org.apache.jackrabbit.ocm.testmod
  */
 public class RelfectionUtilTest extends TestCase
 {
-    private final static Log log = LogFactory.getLog(RelfectionUtilTest.class);
+    private final static Logger log = LoggerFactory.getLogger(RelfectionUtilTest.class);
 
     /**
      * <p>Defines the test case name for junit.</p>

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtil.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtil.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtil.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtil.java Tue May 29 15:36:07 2012
@@ -24,14 +24,12 @@ import javax.jcr.SimpleCredentials;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.core.jndi.RegistryHelper;
-import org.apache.jackrabbit.ocm.exception.JcrMappingException;
-import org.apache.jackrabbit.ocm.exception.ObjectContentManagerException;
 import org.apache.jackrabbit.ocm.exception.RepositoryException;
 import org.apache.jackrabbit.util.ISO9075;
 import org.apache.jackrabbit.util.Text;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
 * Utility class for managing JCR repositories.
@@ -54,7 +52,7 @@ public class RepositoryUtil
     /** Item path separator */
     public static final String PATH_SEPARATOR = "/";
 
-    private final static Log log = LogFactory.getLog(RepositoryUtil.class);
+    private final static Logger log = LoggerFactory.getLogger(RepositoryUtil.class);
 
     /**
      * Register a new repository

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtilTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtilTest.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtilTest.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/repository/RepositoryUtilTest.java Tue May 29 15:36:07 2012
@@ -21,15 +21,11 @@ import javax.jcr.Repository;
 import javax.jcr.Session;
 import javax.jcr.nodetype.NodeTypeManager;
 import javax.transaction.UserTransaction;
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.transaction.jackrabbit.UserTransactionImpl;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /** Testcase for RepositoryUtil.
  *
@@ -38,7 +34,7 @@ import org.apache.jackrabbit.ocm.transac
  */
 public class RepositoryUtilTest extends TestCase
 {
-    private final static Log log = LogFactory.getLog(RepositoryUtilTest.class);
+    private final static Logger log = LoggerFactory.getLogger(RepositoryUtilTest.class);
     private static boolean isInit = false;
     /**
      * <p>Defines the test case name for junit.</p>
@@ -150,8 +146,8 @@ public class RepositoryUtilTest extends 
 
 			// add node and save
 			Node root = session.getRootNode();
-			Node n = root.addNode("test");
-			root.save();
+			root.addNode("test");
+			session.save();
 			utx.commit();
 			
 			assertTrue("test node doesn't exist", session.itemExists("/test"));

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/A.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/A.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/A.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/A.java Tue May 29 15:36:07 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.ocm.testmo
 
 import java.util.ArrayList;
 
-
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Bean;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Folder.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Folder.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Folder.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Folder.java Tue May 29 15:36:07 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.ocm.testmo
 
 import java.util.ArrayList;
 
-
 import org.apache.jackrabbit.ocm.manager.collectionconverter.impl.NTCollectionConverterImpl;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Page.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Page.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Page.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Page.java Tue May 29 15:36:07 2012
@@ -19,7 +19,6 @@ package org.apache.jackrabbit.ocm.testmo
 import java.util.ArrayList;
 import java.util.List;
 
-
 import org.apache.jackrabbit.ocm.manager.collectionconverter.impl.NTCollectionConverterImpl;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Resource.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Resource.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Resource.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/Resource.java Tue May 29 15:36:07 2012
@@ -18,15 +18,16 @@ package org.apache.jackrabbit.ocm.testmo
 
 import java.io.InputStream;
 import java.util.Calendar;
+
+import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
+import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
+
 /**
  * Java class used to map the jcr node type nt:resource
  * @author <a href="mailto:christophe.lombart@gmail.com">Lombart Christophe </a>
  *
  */
 
-import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
-import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
-
 @Node(jcrType="nt:resource")
 public class Resource
 {

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/UnmappedInterface.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/UnmappedInterface.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/UnmappedInterface.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/UnmappedInterface.java Tue May 29 15:36:07 2012
@@ -16,9 +16,6 @@
  */
 package org.apache.jackrabbit.ocm.testmodel;
 
-import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
-
-
 public interface UnmappedInterface {
 
 

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentImpl.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentImpl.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentImpl.java Tue May 29 15:36:07 2012
@@ -17,13 +17,13 @@
 package org.apache.jackrabbit.ocm.testmodel.auto.impl;
 
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Bean;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Implement;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
 import org.apache.jackrabbit.ocm.testmodel.auto.Document;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Document implementation.
@@ -36,7 +36,7 @@ import org.apache.jackrabbit.ocm.testmod
 @Implement(interfaceName=Document.class)
 public class DocumentImpl extends ContentImpl implements Document
 {
-    protected final static Log log =  LogFactory.getLog(DocumentImpl.class);
+    protected final static Logger log =  LoggerFactory.getLogger(DocumentImpl.class);
 
     @Field(jcrName="ocm:size") protected long size;
     @Field(jcrName="ocm:contenttype") protected String contentType;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentStream.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentStream.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/auto/impl/DocumentStream.java Tue May 29 15:36:07 2012
@@ -20,10 +20,10 @@ package org.apache.jackrabbit.ocm.testmo
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Document Content
@@ -35,7 +35,7 @@ import org.apache.jackrabbit.ocm.mapper.
 @Node(jcrType="ocm:documentstream", discriminator=false)
 public class DocumentStream
 {
-    protected final static Log log = LogFactory.getLog(DocumentStream.class);
+    protected final static Logger log = LoggerFactory.getLogger(DocumentStream.class);
 
     @Field( jcrName="ocm:binarycontent") protected byte[] content;
     @Field( jcrName="ocm:encoding") protected String encoding;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/crossreference/A.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/crossreference/A.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/crossreference/A.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/crossreference/A.java Tue May 29 15:36:07 2012
@@ -18,7 +18,6 @@ package org.apache.jackrabbit.ocm.testmo
 
 import java.util.ArrayList;
 
-
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Bean;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentImpl.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentImpl.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentImpl.java Tue May 29 15:36:07 2012
@@ -17,13 +17,13 @@
 package org.apache.jackrabbit.ocm.testmodel.inheritance.impl;
 
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Bean;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Implement;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
 import org.apache.jackrabbit.ocm.testmodel.interfaces.Document;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * CMS VersionnedDocument implementation.
@@ -35,7 +35,7 @@ import org.apache.jackrabbit.ocm.testmod
 @Implement(interfaceName=Document.class)
 public class DocumentImpl extends ContentImpl implements Document
 {
-    protected final static Log log =  LogFactory.getLog(DocumentImpl.class);
+    protected final static Logger log = LoggerFactory.getLogger(DocumentImpl.class);
 
     @Field(jcrName="ocm:size") protected long size;
     @Field(jcrName="ocm:contenttype") protected String contentType;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentStream.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentStream.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/inheritance/impl/DocumentStream.java Tue May 29 15:36:07 2012
@@ -20,10 +20,10 @@ package org.apache.jackrabbit.ocm.testmo
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 
@@ -36,7 +36,7 @@ import org.apache.jackrabbit.ocm.mapper.
 @Node(jcrType="ocm:documentstream", discriminator=false)
 public class DocumentStream
 {
-    protected final static Log log = LogFactory.getLog(DocumentStream.class);
+    protected final static Logger log = LoggerFactory.getLogger(DocumentStream.class);
 
     @Field(jcrName="ocm:binarycontent") protected byte[] content;
 

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/unstructured/UnstructuredPage.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/unstructured/UnstructuredPage.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/unstructured/UnstructuredPage.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/unstructured/UnstructuredPage.java Tue May 29 15:36:07 2012
@@ -18,8 +18,6 @@ package org.apache.jackrabbit.ocm.testmo
 
 import java.util.ArrayList;
 
-
-import org.apache.jackrabbit.ocm.manager.collectionconverter.impl.NTCollectionConverterImpl;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/version/PressRelease.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/version/PressRelease.java?rev=1343782&r1=1343781&r2=1343782&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/version/PressRelease.java (original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/testmodel/version/PressRelease.java Tue May 29 15:36:07 2012
@@ -16,15 +16,11 @@
  */
 package org.apache.jackrabbit.ocm.testmodel.version;
 
-import java.util.ArrayList;
 import java.util.Date;
-import java.util.List;
 
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Bean;
-import org.apache.jackrabbit.ocm.mapper.impl.annotation.Collection;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Field;
 import org.apache.jackrabbit.ocm.mapper.impl.annotation.Node;
-import org.w3c.dom.Comment;
 
 @Node(jcrMixinTypes = "mix:versionable")
 public class PressRelease {



Mime
View raw message