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


##########
nifi-extension-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/processors/excel/SplitExcel.java:
##########
@@ -229,7 +217,56 @@ public void onTrigger(ProcessContext context, 
ProcessSession session) throws Pro
         session.transfer(flowFileSplits, REL_SPLIT);
     }
 
-    private int copyRows(final Sheet originalSheet, final SXSSFSheet 
destinationSheet) {
+    private CellCopyPolicy createCellCopyPolicy(InputFileType inputFileType) {

Review Comment:
   Instead of creating a new `CellCopyPolicy` for every FlowFile processed, can 
two different implementation instances be created statically and shared?



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