exceptionfactory commented on code in PR #9292:
URL: https://github.com/apache/nifi/pull/9292#discussion_r1777131916


##########
nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/python/processor/FlowFileTransformProxy.java:
##########
@@ -40,22 +40,22 @@ public FlowFileTransformProxy(final String processorType, 
final Supplier<PythonP
 
     @Override
     public void onTrigger(final ProcessContext context, final ProcessSession 
session) throws ProcessException {
-        FlowFile original = session.get();
-        if (original == null) {
+        FlowFile transformed = session.get();

Review Comment:
   I agree with you @markap14, I think just calling this `flowFile` would be 
simpler and avoid some confusion.



-- 
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]

Reply via email to