[ 
https://issues.apache.org/jira/browse/MINIFICPP-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Szasz resolved MINIFICPP-1207.
-------------------------------------
    Resolution: Fixed

> Refactor core ProcessSession::get and ProcessSession::commit functions for 
> unnecessary and duplicated code
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-1207
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1207
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Murtuza Shareef
>            Priority: Minor
>
> [https://github.com/apache/nifi-minifi-cpp/blob/master/libminifi/src/core/ProcessSession.cpp]
> On line 944 it doesn't make sense to create a new FlowFile and then loose 
> reference to it on line 952. I think the original intent of this code was to 
> store a shared reference to the flowfile object in _originalFlowFiles table.
> Also, there is code duplication in ProcessSession::commit function.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to