You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "chibenwa (via GitHub)" <gi...@apache.org> on 2023/08/17 12:02:11 UTC

[GitHub] [james-project] chibenwa commented on a diff in pull request #1687: Improve the rule for checkstyle

chibenwa commented on code in PR #1687:
URL: https://github.com/apache/james-project/pull/1687#discussion_r1297120432


##########
checkstyle.xml:
##########
@@ -30,6 +30,15 @@
   <property name="severity" value="error"/>
   <property name="charset" value="UTF-8"/>
   <property name="fileExtensions" value="java, properties, xml"/>
+  <module name="RegexpSingleline">
+    <property name="fileExtensions" value="java"/>
+    <property name="format" value=".prettyPeek()"/>
+    <property name="message" value="Found a debug code"/>
+  </module>
+  <module name="RegexpHeader">
+    <property name="fileExtensions" value="java"/>
+    <property name="header" value=".*\n.*Licensed to the Apache Software Foundation.*"/>

Review Comment:
   No message here?



-- 
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: notifications-unsubscribe@james.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org