1<?xml version="1.0"?> 2<!DOCTYPE module PUBLIC 3 "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" 4 "https://checkstyle.org/dtds/configuration_1_3.dtd"> 5<module name="Checker"> 6 <module name="NewlineAtEndOfFile"> 7 <property name="severity" value="ignore" /> 8 </module> 9 <module name="RegexpHeader"> 10 <property name="headerFile" value="${checkstyle.header.file}"/> 11 <property name="multiLines" value="21"/> 12 </module> 13 <module name="FileLength"/> 14 <module name="FileTabCharacter"/> 15 16 <module name="RegexpSingleline"> 17 <property name="format" value="\s+$"/> 18 <property name="minimum" value="0"/> 19 <property name="maximum" value="0"/> 20 <property name="message" value="Line has trailing spaces."/> 21 </module> 22 23 <module name="LineLength"> 24 <property name="max" value="150"/> 25 </module> 26 27 <module name="TreeWalker"> 28 <module name="JavadocStyle"/> 29 <module name="AvoidStarImport"/> 30 <module name="RedundantImport"/> 31 <module name="UnusedImports"/> 32 <module name="MethodName"/> 33 <module name="MethodLength"> 34 <property name="max" value="200"/> 35 </module> 36 <module name="AnonInnerLength"> 37 <property name="max" value="60"/> 38 </module> 39 <module name="ParameterName"/> 40 <module name="ParameterNumber"/> 41 <module name="EmptyBlock"/> 42 <module name="LeftCurly"/> 43 <module name="NeedBraces"/> 44 <module name="RightCurly"/> 45 <module name="GenericWhitespace"/> 46 <module name="MethodParamPad"/> 47 <module name="NoWhitespaceAfter"/> 48 <module name="NoWhitespaceBefore"/> 49 <module name="TypecastParenPad"/> 50 <module name="WhitespaceAfter"/> 51 <module name="WhitespaceAround"/> 52 <module name="SuppressionCommentFilter"> 53 <property name="offCommentFormat" value="<editor-fold defaultstate="collapsed" desc="Generated Code">"/> 54 <property name="onCommentFormat" value="</editor-fold>"/> 55 </module> 56 57 <module name="ModifierOrder"/> 58 <module name="RedundantModifier"/> 59 60 <module name="SimplifyBooleanExpression"/> 61 <module name="SimplifyBooleanReturn"/> 62 63 <module name="HideUtilityClassConstructor"/> 64 65 <module name="ArrayTypeStyle"/> 66 <module name="UpperEll"/> 67 </module> 68</module> 69