Perfect checkstyle.xml (#915)

pull/916/head
John Niang 2020-06-14 12:40:04 +08:00 committed by GitHub
parent 4ee9e151d4
commit 73362869b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -12,8 +12,8 @@
<module name="FileTabCharacter"/>
<module name="RegexpSingleline">
<property name="format" value="System\.out"/>
<property name="message" value="Prohibit invoking System.out in source code !"/>
<property name="format" value="^.*System\.(out|err).*$"/>
<property name="message" value="Don't use System.out/err, use SLF4J instead."/>
</module>
<module name="FileLength">
@ -21,7 +21,11 @@
</module>
<module name="TreeWalker">
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CS:OFF:BEGIN"/>
<property name="onCommentFormat" value="CS:OFF:END"/>
<property name="checkFormat" value=".*"/>
</module>
<module name="UnusedImports">
<property name="processJavadoc" value="true"/>
</module>
@ -83,7 +87,6 @@
<module name="MethodParamPad"/>
<module name="ParenPad"/>
<module name="TypecastParenPad"/>
<module name="TypecastParenPad"/>
</module>

View File

@ -29,7 +29,6 @@ public class Application extends SpringBootServletInitializer {
// Run application
CONTEXT = SpringApplication.run(Application.class, args);
}
/**