jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r190004 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java
Date Fri, 10 Jun 2005 19:01:50 GMT
Author: jukka
Date: Fri Jun 10 12:01:49 2005
New Revision: 190004

URL: http://svn.apache.org/viewcvs?rev=190004&view=rev
Log:
JCR-132: No need to require org.apache.jackrabbit.jndi.BindableRepository as the configured
JNDI resource type

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java?rev=190004&r1=190003&r2=190004&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/jndi/BindableRepositoryFactory.java
Fri Jun 10 12:01:49 2005
@@ -56,8 +56,7 @@
             synchronized (cache) {
                 if (cache.containsKey(ref)) {
                     return cache.get(ref);
-                }
-                if (ref.getClassName().equals(BindableRepository.class.getName())) {
+                } else {
                     String configFilePath =
                             (String) ref.get(BindableRepository.CONFIGFILEPATH_ADDRTYPE).getContent();
                     String repHomeDir =



Mime
View raw message