You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/05/28 14:38:00 UTC
[jira] [Commented] (NIFI-13298) Remove unused instantiated java.util.HashSet from RouteAttribute
[ https://issues.apache.org/jira/browse/NIFI-13298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850048#comment-17850048 ]
ASF subversion and git services commented on NIFI-13298:
--------------------------------------------------------
Commit a1a7c3c5a5779477d4b20027a57a22390095303a in nifi's branch refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a1a7c3c5a5 ]
NIFI-13298 Removed unused instantiated java.util.HashSet from RouteAttribute
This closes #8883
Signed-off-by: David Handermann <ex...@apache.org>
> 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: 20m
> 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)