[ 
https://issues.apache.org/jira/browse/NIFI-16356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116341#comment-18116341
 ] 

ASF subversion and git services commented on NIFI-16356:
--------------------------------------------------------

Commit d0c2cc10f98e188d745c420792ea78a3ed26a7e9 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d0c2cc10f98 ]

NIFI-16356 Removed redundant type casts. (#11690)

> Remove Redundant Type Casts II
> ------------------------------
>
>                 Key: NIFI-16356
>                 URL: https://issues.apache.org/jira/browse/NIFI-16356
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Trivial
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Running Intellij
> Analyze -> Run Inspection by Name -> Redundant type cast
> Seems 3 instances were added since NIFI-16122. The PMD rule 
> {{UnnecessaryCast}} did not catch these rule because of how the rule handles 
> generic type erasure and mock framework return types.
> The purpose of this ticket is to remove these unnecessary casts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to