Follow up to #1332. - Manually split up a long string literal. - Disable ArrayTrailingComma, which checkstyle complains about even in commented code. In any case it is redundant with PJF.
49 lines
1.8 KiB
XML
49 lines
1.8 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE module PUBLIC
|
|
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
|
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
|
|
|
<module name="Checker">
|
|
<module name="FileTabCharacter">
|
|
<property name="eachLine" value="true"/>
|
|
</module>
|
|
|
|
<module name="LineLength">
|
|
<property name="fileExtensions" value="java"/>
|
|
<property name="max" value="150"/>
|
|
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
|
|
</module>
|
|
|
|
<module name="SuppressWithPlainTextCommentFilter">
|
|
<property name="offCommentFormat" value="CHECKSTYLE.OFF\: ([\w\|]+)"/>
|
|
<property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)"/>
|
|
<!-- $1 refers to the first match group in the regex defined in commentFormat -->
|
|
<property name="checkFormat" value="$1"/>
|
|
</module>
|
|
|
|
<module name="TreeWalker">
|
|
<module name="AvoidStarImport"/>
|
|
<module name="ConstantName"/>
|
|
<module name="CovariantEquals"/>
|
|
<module name="EmptyStatement"/>
|
|
<module name="EqualsHashCode"/>
|
|
<module name="InvalidJavadocPosition"/>
|
|
<module name="LocalFinalVariableName"/>
|
|
<module name="LocalVariableName"/>
|
|
<module name="MemberName"/>
|
|
<module name="MethodName">
|
|
<!-- Method names must start with a lowercase letter. -->
|
|
<property name="format" value="^[a-z]\w*$"/>
|
|
</module>
|
|
<module name="NeedBraces"/>
|
|
<module name="OneStatementPerLine"/>
|
|
<module name="OneTopLevelClass"/>
|
|
<module name="OuterTypeFilename"/>
|
|
<module name="ParameterName"/>
|
|
<module name="RedundantImport"/>
|
|
<module name="UnusedImports"/>
|
|
<module name="UpperEll"/>
|
|
<module name="WhitespaceAfter"/>
|
|
</module>
|
|
|
|
</module>
|