SOLR-6365 NPE bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2014-09-03 06:10:17 +00:00
parent 9d05bbfad4
commit fbb8dc76e3
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class ParamSet {
if(first == null) first = new NamedList();
NamedList nl = first.clone();
if(appends) {
nl.addAll(second);
if(second!=null) nl.addAll(second);
} else {
Set<String> a = new HashSet<>();
Set<String> b = new HashSet<>();