mirror of https://github.com/apache/lucene.git
Adding null check for multi valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@735696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afe37144ea
commit
ccb41af767
|
@ -51,6 +51,8 @@ public class HTMLStripTransformer extends Transformer {
|
|||
List<String> inputs = (List<String>) tmpVal;
|
||||
List results = new ArrayList();
|
||||
for (String input : inputs) {
|
||||
if (input == null)
|
||||
continue;
|
||||
Object o = stripHTML(input, col);
|
||||
if (o != null)
|
||||
results.add(o);
|
||||
|
|
Loading…
Reference in New Issue