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