[
https://issues.apache.org/jira/browse/NIFI-13298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-13298:
------------------------------------
Status: Patch Available (was: In Progress)
> Remove unused instantiated java.util.HashSet from RouteAttribute
> ----------------------------------------------------------------
>
> Key: NIFI-13298
> URL: https://issues.apache.org/jira/browse/NIFI-13298
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In RouteOnAttribute on line 352 a set is instantiated
> final Set<FlowFile> clones = new HashSet<>();
> and on line 358 its populated
> clones.add(cloneFlowFile);
> Yet after that nothing is done with it (per Intellij it is updated but
> never queried).
> This should removed as it is not serving any purpose.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)