[
https://issues.apache.org/jira/browse/NIFI-14997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-14997:
------------------------------------
Status: Patch Available (was: In Progress)
> Confusing argument 'null', unclear if a varargs or non-varargs call is
> desired in TestStandardLoggingContext
> -------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-14997
> URL: https://issues.apache.org/jira/browse/NIFI-14997
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Trivial
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The issue as well as the solution is seen in the logs below.
> {code:java}
> 2025-09-18T21:43:34.7612184Z [WARNING]
> /home/runner/work/nifi/nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/test/java/org/apache/nifi/logging/TestStandardLoggingContext.java:[51,63]
> non-varargs call of varargs method with inexact argument type for last
> parameter;
> 2025-09-18T21:43:34.7614277Z cast to String for a varargs call
> 2025-09-18T21:43:34.7615169Z cast to String[] for a non-varargs call and to
> suppress this warning{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)