gengliangwang commented on code in PR #45823:
URL: https://github.com/apache/spark/pull/45823#discussion_r1548539840
##########
scalastyle-config.xml:
##########
@@ -150,6 +150,11 @@ This file is divided into 3 sections:
// scalastyle:on println]]></customMessage>
</check>
+ <check customId="invalidMDC" level="error"
class="org.scalastyle.file.RegexChecker" enabled="true">
+ <parameters><parameter name="regex">s".*MDC</parameter></parameters>
Review Comment:
You are right. I updated it to match the patther of `s"...${MDC(...)}`
##########
scalastyle-config.xml:
##########
@@ -150,6 +150,11 @@ This file is divided into 3 sections:
// scalastyle:on println]]></customMessage>
</check>
+ <check customId="invalidMDC" level="error"
class="org.scalastyle.file.RegexChecker" enabled="true">
+ <parameters><parameter name="regex">s".*MDC</parameter></parameters>
Review Comment:
You are right. I updated it to match the patther of `s"...${MDC(...`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]