jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r896943 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Date Thu, 07 Jan 2010 17:57:24 GMT
Author: jukka
Date: Thu Jan  7 17:57:24 2010
New Revision: 896943

URL: http://svn.apache.org/viewvc?rev=896943&view=rev
Log:
JCR-2451: Implement RepositoryFactory in jcr2dav

Use the full service lookup mechanism in getRepository(String)

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java?rev=896943&r1=896942&r2=896943&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/JcrUtils.java
Thu Jan  7 17:57:24 2010
@@ -131,7 +131,7 @@
             throws RepositoryException {
         Map<String, String> parameters = new HashMap<String, String>();
         parameters.put(GenericRepositoryFactory.URI, uri);
-        return new GenericRepositoryFactory().getRepository(parameters);
+        return getRepository(parameters);
     }
 
     /**



Mime
View raw message