[
https://issues.apache.org/jira/browse/MINIFICPP-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Gyimesi reassigned MINIFICPP-1502:
----------------------------------------
Assignee: Gabor Gyimesi
> Update processors that take their name/id constructor arguments as values
> -------------------------------------------------------------------------
>
> Key: MINIFICPP-1502
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1502
> Project: Apache NiFi MiNiFi C++
> Issue Type: Task
> Affects Versions: 0.7.0
> Reporter: Adam Hunyadi
> Assignee: Gabor Gyimesi
> Priority: Trivial
> Labels: MiNiFi-CPP-Hygiene
> Fix For: 1.0.0
>
>
> *Background:*
> Currently, probably due to copy-pasting, many of the processors take their
> name and id arguments as values as opposed to const references.
> {code:bash|title:Signature grep}
> ➜ git --no-pager grep '(std::string name, utils::Identifier uuid =
> utils::Identifier())' | wc -l
> 46
> {code}
> *Proposal:*
> It should be a trivial change to update these signatures. One should search
> and replace the mentioned signature and check if changing it has no impact
> (eg. values are not moved from).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)