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 2025/07/11 17:32:00 UTC
[jira] [Commented] (NIFI-14742) Replace for loops missed by PMD's ForLoopCanBeForeach rule with for each loops.
[ https://issues.apache.org/jira/browse/NIFI-14742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004753#comment-18004753 ]
ASF subversion and git services commented on NIFI-14742:
--------------------------------------------------------
Commit 98aad34223e166dac9f9c2b0131ef1336f7fc62f in nifi's branch refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=98aad34223 ]
NIFI-14742 Replaced for loop with for each loop missed by PMD ForLoopCanBeForeach rule (#10084)
Signed-off-by: David Handermann <ex...@apache.org>
> Replace for loops missed by PMD's ForLoopCanBeForeach rule with for each loops.
> -------------------------------------------------------------------------------
>
> Key: NIFI-14742
> URL: https://issues.apache.org/jira/browse/NIFI-14742
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Despite the changes made in NIFI-14194, there was still a case which was not caught by PMD's ForLoopCanBeForeach rule. The one I found was inĀ
> * org.apache.nifi.text.FreeFormTextWriter lines 71-75
--
This message was sent by Atlassian Jira
(v8.20.10#820010)