ChrisSamo632 commented on code in PR #7671:
URL: https://github.com/apache/nifi/pull/7671#discussion_r1350428068


##########
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/PutElasticsearchRecord.java:
##########
@@ -460,7 +462,7 @@ public void onTrigger(final ProcessContext context, final 
ProcessSession session
                 stopWatch.getDuration(TimeUnit.MILLISECONDS)
         );
 
-        input = session.putAllAttributes(input, new HashMap<>() {{
+        input = session.putAllAttributes(input, new HashMap<String, String>() 
{{

Review Comment:
   The `<String, String>` is required for Java 8 on the `support/nifi-1.x` 
branch - while we don't necessarily need to continue pushing to that branch, 
these changes **should** work fine there, so I wanted to enable that if possible



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to