mjsax commented on a change in pull request #9067:
URL: https://github.com/apache/kafka/pull/9067#discussion_r460282952



##########
File path: checkstyle/checkstyle.xml
##########
@@ -103,6 +103,13 @@
       <property name="ignoreComments" value="true"/>
     </module>
 
+    <module name="Regexp">
+      <property name="format" value="System\.exit"/>
+      <property name="illegalPattern" value="true"/>
+      <property name="ignoreComments" value="true"/>
+      <property name="message" value="'System.exit': Should not directly call 
System.exit, but Exit.exit instead."/>

Review comment:
       Nice one!




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to