dan-s1 commented on code in PR #11012:
URL: https://github.com/apache/nifi/pull/11012#discussion_r3001272811
##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateJson.java:
##########
@@ -327,24 +376,56 @@ public void onTrigger(final ProcessContext context, final
ProcessSession session
}
}
+ void validateJsonLines(ProcessSession session, FlowFile flowFile) {
Review Comment:
@exceptionfactory `final ProcessSession session` is okay but the compiler
does not like `final FlowFile flowFile` as it is reassigned. I made the
suggested change and instead of reassignment, I created a new variable.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]