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

             Summary: 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ć


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