LuciferYang commented on code in PR #52957:
URL: https://github.com/apache/spark/pull/52957#discussion_r2508541288
##########
scalastyle-config.xml:
##########
@@ -846,4 +846,9 @@ This file is divided into 3 sections:
<parameters><parameter
name="regex">\bInts\.checkedCast\b</parameter></parameters>
<customMessage>Use JavaUtils.checkedCast instead.</customMessage>
</check>
+
+ <check customId="startsWithK8s" level="error"
class="org.scalastyle.file.RegexChecker" enabled="true">
+ <parameters><parameter
name="regex">\bstartsWith\("k8s\b</parameter></parameters>
Review Comment:
I'm not sure if there will be any misjudgments, but so far, it seems to be
ok.
--
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]