[
https://issues.apache.org/jira/browse/NIFI-16356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard updated NIFI-16356:
----------------------------------
Fix Version/s: 2.13.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 2.13.0
>
> 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)