Daniel Stieglitz created NIFI-13298:
---------------------------------------
Summary: 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
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)