[
https://issues.apache.org/jira/browse/NIFI-14843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013278#comment-18013278
]
ASF subversion and git services commented on NIFI-14843:
--------------------------------------------------------
Commit 306128273c60812385e08c921553e0358413f8bd in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=306128273c ]
NIFI-14843 Replaced old style for loop with a for each loop.
Signed-off-by: Pierre Villard <[email protected]>
This closes #10190.
> Replace old style for loop with for each in
> org.apache.nifi.repository.schema.SchemaRecordReader
> ------------------------------------------------------------------------------------------------
>
> Key: NIFI-14843
> URL: https://issues.apache.org/jira/browse/NIFI-14843
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Discovered another old style for loop which can be a for each loop using
> Intellij despite having PMD's ForLoopCanBeForeach in place with NIFI-14194.
> The for loop is in
> {code:java}
> org.apache.nifi.repository.schema.SchemaRecordReader{code}
> one line 232.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)