attrs must always be non-null

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@817195 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-09-21 09:03:40 +00:00
parent 5c11bc6e69
commit b8cae28ff4
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class PluginInfo {
this.name = attrs.get("name"); this.name = attrs.get("name");
this.className = attrs.get("class"); this.className = attrs.get("class");
this.initArgs = initArgs; this.initArgs = initArgs;
attributes = attrs == null ? Collections.<String, String>emptyMap() : unmodifiableMap(attrs); attributes = unmodifiableMap(attrs);
this.children = children == null ? Collections.<PluginInfo>emptyList(): unmodifiableList(children); this.children = children == null ? Collections.<PluginInfo>emptyList(): unmodifiableList(children);
} }