Skip to content

Commit

Permalink
Small change
Browse files Browse the repository at this point in the history
Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: gaobinlong <gbl_long@163.com>
  • Loading branch information
gaobinlong and reta authored Sep 12, 2023
1 parent 7fe6edf commit b19ed23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ boolean isIgnoreMissing() {
@Override
public IngestDocument execute(IngestDocument document) {
String path = document.renderTemplate(field);
boolean fieldPathIsNullOrEmpty = Strings.isEmpty(path);
final boolean fieldPathIsNullOrEmpty = Strings.isNullOrEmpty(path);
if (fieldPathIsNullOrEmpty || document.hasField(path, true) == false) {
if (ignoreMissing) {
return document;
Expand Down

0 comments on commit b19ed23

Please sign in to comment.