[ 
https://issues.apache.org/jira/browse/SPARK-58922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uroš Bojanić reassigned SPARK-58922:
------------------------------------

    Assignee: Uroš Bojanić

> Extract a null/empty MDC-array check in SparkLogger
> ---------------------------------------------------
>
>                 Key: SPARK-58922
>                 URL: https://issues.apache.org/jira/browse/SPARK-58922
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.3.0
>            Reporter: Uroš Bojanić
>            Assignee: Uroš Bojanić
>            Priority: Major
>              Labels: pull-request-available
>
> SparkLogger duplicates the check 'mdcs == null || mdcs.length == 0' across 
> six logging methods (the MDC-varargs error/warn/info overloads). This 
> extracts a private isNullOrEmpty(MDC[]) helper and routes the six call sites 
> through it. No behavior change.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to