fix for NPE which happens within solr code at MultiMapSolrParams.java,

line 52 in case that the array arr.length == 0
pull/1/head
Michael Peter Christen 12 years ago
parent 5b7c0d0745
commit 31902f54df

@ -131,7 +131,8 @@ public class serverObjects implements Serializable, Cloneable {
}
public boolean containsKey(String key) {
return this.map.get(key) != null;
String[] arr = this.map.getParams(key);
return arr != null && arr.length > 0;
}
public MultiMapSolrParams getSolrParams() {

Loading…
Cancel
Save