This is an automated email from the ASF dual-hosted git repository. leerho pushed a commit to branch checkstyle_module_for_raw_newlines in repository https://gitbox.apache.org/repos/asf/datasketches-java.git
commit 20328b4ea9078e9242ed91012ecdc03e441592d7 Author: Lee Rhodes <[email protected]> AuthorDate: Fri Apr 5 18:32:59 2024 -0700 Added a Checkstyle module that checks for "\\n" characters in string literals. --- tools/SketchesCheckstyle.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/SketchesCheckstyle.xml b/tools/SketchesCheckstyle.xml index d5e8a170..8a45ea57 100644 --- a/tools/SketchesCheckstyle.xml +++ b/tools/SketchesCheckstyle.xml @@ -172,6 +172,11 @@ under the License. <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> </module> + <module name="IllegalTokenText"> + <property name="tokens" value="STRING_LITERAL"/> + <property name="format" value="\\n"/> + </module> + <!-- Class Design --> <module name="OneTopLevelClass"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
