[
https://issues.apache.org/jira/browse/NIFI-13039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
endzeit updated NIFI-13039:
---------------------------
Description:
While going through the JavaDoc of ProcessSession in NIFI-12986, I noticed that
_void commitAsync();_ and _FlowFile merge(Collection<FlowFile> sources,
FlowFile destination);_ are overloads of their respective "sibling" functions.
As discussed in the [PR #8620|https://github.com/apache/nifi/pull/8620], it
makes sense to provide default implementations that utilize the "sibling"
functions with more parameters and remove the existing implementations.
was:
While going through the JavaDoc of ProcessSession in NIFI-12986, I noticed that
_void commitAsync();_ and _FlowFile merge(Collection<FlowFile> sources,
FlowFile destination);_ are overloads of their respective "sibling" functions.
As discussed in the PR with more parameters but do not define a default
implementation.
> Provide default implementations for method overloads in ProcessSession
> ----------------------------------------------------------------------
>
> Key: NIFI-13039
> URL: https://issues.apache.org/jira/browse/NIFI-13039
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: endzeit
> Priority: Major
>
> While going through the JavaDoc of ProcessSession in NIFI-12986, I noticed
> that _void commitAsync();_ and _FlowFile merge(Collection<FlowFile> sources,
> FlowFile destination);_ are overloads of their respective "sibling" functions.
> As discussed in the [PR #8620|https://github.com/apache/nifi/pull/8620], it
> makes sense to provide default implementations that utilize the "sibling"
> functions with more parameters and remove the existing implementations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)