bug that guarantees a null pointer exception - a handler is not supported by ResourceLoaderAware anyway

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@774766 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2009-05-14 13:49:32 +00:00
parent 95e42190cf
commit 37d6d7187b
1 changed files with 0 additions and 4 deletions

View File

@ -240,10 +240,6 @@ final class RequestHandlers {
SolrRequestHandler handler = core.createRequestHandler(_className);
handler.init( _args );
if( handler instanceof ResourceLoaderAware ) {
((ResourceLoaderAware)_handler).inform( core.getSolrConfig().getResourceLoader() );
}
if( handler instanceof SolrCoreAware ) {
((SolrCoreAware)handler).inform( core );
}