[
https://issues.apache.org/jira/browse/NIFI-16122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097616#comment-18097616
]
ASF subversion and git services commented on NIFI-16122:
--------------------------------------------------------
Commit 3946f7285344196a3a83ea402b176190ea85bd85 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3946f728534 ]
NIFI-16122 Removed redundant type casts and added PMD rule UnnecessaryCast
(#11440)
Signed-off-by: David Handermann <[email protected]>
> Remove Redundant Type Casts
> ---------------------------
>
> Key: NIFI-16122
> URL: https://issues.apache.org/jira/browse/NIFI-16122
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Running Intellij
> Analyze -> Run Inspection by Name -> Redundant type cast
> indicates there are many places in the code where there are unnecessary casts.
> The purpose of this ticket is to remove these unnecessary casts and implement
> the use of the PMD rule {{UnnecessaryCast}} which will prevent unnecessary
> casts in the future.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)