jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r294805 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SearchManager.java
Date Tue, 04 Oct 2005 15:57:32 GMT
Author: jukka
Date: Tue Oct  4 08:57:24 2005
New Revision: 294805

URL: http://svn.apache.org/viewcvs?rev=294805&view=rev
Log:
Removed dependency from SearchManager to o.a.j.core.config: QueryHandler bean properties are
already set by BeanConfig.newInstance().

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

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SearchManager.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SearchManager.java?rev=294805&r1=294804&r2=294805&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SearchManager.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/SearchManager.java Tue
Oct  4 08:57:24 2005
@@ -16,7 +16,6 @@
  */
 package org.apache.jackrabbit.core;
 
-import org.apache.commons.collections.BeanMap;
 import org.apache.commons.collections.iterators.AbstractIteratorDecorator;
 import org.apache.jackrabbit.core.config.SearchConfig;
 import org.apache.jackrabbit.core.fs.FileSystem;
@@ -125,14 +124,6 @@
             handler.init(context);
         } catch (Exception e) {
             throw new RepositoryException(e.getMessage(), e);
-        }
-
-        // set properties
-        BeanMap bm = new BeanMap(handler);
-        try {
-            bm.putAll(config.getParameters());
-        } catch (IllegalArgumentException e) {
-            log.error("Invalid configuration: " + e.getMessage());
         }
     }
 



Mime
View raw message