Github user robertrbruno commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2501#discussion_r174305856
--- Diff:
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearchHttpRecord.java
---
@@ -284,6 +306,17 @@ public void onTrigger(final ProcessContext context,
final ProcessSession session
return;
}
+ final NullSuppression suppression;
--- End diff --
Agreed that this.nullSuppression could be directly set without the need of
this variable.
---