Skip to content

Commit

Permalink
for each iter
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Jun 30, 2019
1 parent f404843 commit 0103761
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,11 @@ void innerExecute(int index, List<?> values, List<Object> newValues, IngestDocum
if (e != null) {
newValues.add(document.getIngestMetadata().put("_value", previousValue));
handler.accept(null, e);
} else if (result == null) {
handler.accept(null, null);
} else {
if (result == null) {
handler.accept(null, null);
} else {
newValues.add(document.getIngestMetadata().put("_value", previousValue));
innerExecute(index + 1, values, newValues, document, handler);
}
newValues.add(document.getIngestMetadata().put("_value", previousValue));
innerExecute(index + 1, values, newValues, document, handler);
}
});
}
Expand Down

0 comments on commit 0103761

Please sign in to comment.