jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1301017 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java
Date Thu, 15 Mar 2012 14:53:34 GMT
Author: mduerig
Date: Thu Mar 15 14:53:33 2012
New Revision: 1301017

URL: http://svn.apache.org/viewvc?rev=1301017&view=rev
Log:
OAK-5: JCR bindings for Oak
- todo
- suppress warning

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java?rev=1301017&r1=1301016&r2=1301017&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/OakRepositoryFactory.java
Thu Mar 15 14:53:33 2012
@@ -48,9 +48,11 @@ public class OakRepositoryFactory implem
         return null;
     }
 
+    @SuppressWarnings("unchecked")
     private static Repository getRepository(URI uri, Map parameters)
             throws RepositoryException {
 
+        // todo correctly interpret uri
         parameters.put(RepositoryConfiguration.MICROKERNEL_URL, "simple:target/repository-test/repository");
         GlobalContext context = new GlobalContext(OakRepositoryConfiguration.create(parameters));
         return context.getInstance(Repository.class);



Mime
View raw message