[
https://issues.apache.org/jira/browse/NIFI-14116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt updated NIFI-14116:
----------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Add PMD Rule UnnecessaryVarargsArrayCreation
> --------------------------------------------
>
> Key: NIFI-14116
> URL: https://issues.apache.org/jira/browse/NIFI-14116
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Fix For: 2.2.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Following efforts to remove unnecessary array object creation for logging
> statements, the PMD rule UnnecessaryVarargsArrayCreation should be added to
> the standard set of project rules.
> The
> [UnnecessaryVarargsArrayCreation|https://pmd.github.io/pmd/pmd_rules_java_bestpractices.html#unnecessaryvarargsarraycreation]
> rule detects method invocations where an object array is not required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)