mirror of https://github.com/apache/lucene.git
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:
parent
95e42190cf
commit
37d6d7187b
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue