You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by no...@apache.org on 2009/09/21 11:03:43 UTC

svn commit: r817195 - /lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java

Author: noble
Date: Mon Sep 21 09:03:40 2009
New Revision: 817195

URL: http://svn.apache.org/viewvc?rev=817195&view=rev
Log:
attrs must always be non-null

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java?rev=817195&r1=817194&r2=817195&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java Mon Sep 21 09:03:40 2009
@@ -43,7 +43,7 @@
     this.name = attrs.get("name");
     this.className = attrs.get("class");
     this.initArgs = initArgs;
-    attributes = attrs == null ? Collections.<String, String>emptyMap() : unmodifiableMap(attrs);
+    attributes = unmodifiableMap(attrs);
     this.children = children == null ? Collections.<PluginInfo>emptyList(): unmodifiableList(children);
   }