lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r888282 - /lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
Date Tue, 08 Dec 2009 07:00:15 GMT
Author: shalin
Date: Tue Dec  8 07:00:15 2009
New Revision: 888282

URL: http://svn.apache.org/viewvc?rev=888282&view=rev
Log:
SOLR-1620 -- Fixed misleading log message "created null"

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java?rev=888282&r1=888281&r2=888282&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/plugin/AbstractPluginLoader.java Tue Dec
 8 07:00:15 2009
@@ -139,7 +139,7 @@
           String defaultStr = DOMUtil.getAttr(node,"default", null );
             
           T plugin = create(loader, name, className, node );
-          log.info("created "+name+": " + plugin.getClass().getName() );
+          log.info("created " + ((name != null) ? name : "") + ": " + plugin.getClass().getName());
           
           // Either initialize now or wait till everything has been registered
           if( preRegister ) {



Mime
View raw message