dongjoon-hyun commented on code in PR #52957:
URL: https://github.com/apache/spark/pull/52957#discussion_r2508543979
##########
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:
No worry~. There will be no misjudgments because we use `\b` at the end of
`k8s`. So, it should be an exact word, `k8s`.
--
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]