config/checkstyle/checkstyle.xml in embulk-output-send_email-0.1.3 vs config/checkstyle/checkstyle.xml in embulk-output-send_email-0.1.4

- old
+ new

@@ -1,128 +1,128 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE module PUBLIC - "-//Puppy Crawl//DTD Check Configuration 1.3//EN" - "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> -<module name="Checker"> - <!-- https://github.com/facebook/presto/blob/master/src/checkstyle/checks.xml --> - <module name="FileTabCharacter"/> - <module name="NewlineAtEndOfFile"> - <property name="lineSeparator" value="lf"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="\r"/> - <property name="message" value="Line contains carriage return"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value=" \n"/> - <property name="message" value="Line has trailing whitespace"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="\{\n\n"/> - <property name="message" value="Blank line after opening brace"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="\n\n\s*\}"/> - <property name="message" value="Blank line before closing brace"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="\n\n\n"/> - <property name="message" value="Multiple consecutive blank lines"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="\n\n\Z"/> - <property name="message" value="Blank line before end of file"/> - </module> - <module name="RegexpMultiline"> - <property name="format" value="Preconditions\.checkNotNull"/> - <property name="message" value="Use of checkNotNull"/> - </module> - - <module name="TreeWalker"> - <module name="EmptyBlock"> - <property name="option" value="text"/> - <property name="tokens" value=" - LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF, - LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/> - </module> - <module name="EmptyStatement"/> - <module name="EmptyForInitializerPad"/> - <module name="EmptyForIteratorPad"> - <property name="option" value="space"/> - </module> - <module name="MethodParamPad"> - <property name="allowLineBreaks" value="true"/> - <property name="option" value="nospace"/> - </module> - <module name="ParenPad"/> - <module name="TypecastParenPad"/> - <module name="NeedBraces"/> - <module name="LeftCurly"> - <property name="option" value="nl"/> - <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/> - </module> - <module name="LeftCurly"> - <property name="option" value="eol"/> - <property name="tokens" value=" - LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, - LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/> - </module> - <module name="RightCurly"> - <property name="option" value="alone"/> - </module> - <module name="GenericWhitespace"/> - <module name="WhitespaceAfter"/> - <module name="NoWhitespaceBefore"/> - - <module name="UpperEll"/> - <module name="DefaultComesLast"/> - <module name="ArrayTypeStyle"/> - <module name="MultipleVariableDeclarations"/> - <module name="ModifierOrder"/> - <module name="OneStatementPerLine"/> - <module name="StringLiteralEquality"/> - <module name="MutableException"/> - <module name="EqualsHashCode"/> - <module name="InnerAssignment"/> - <module name="InterfaceIsType"/> - <module name="HideUtilityClassConstructor"/> - - <module name="MemberName"/> - <module name="LocalVariableName"/> - <module name="LocalFinalVariableName"/> - <module name="TypeName"/> - <module name="PackageName"/> - <module name="ParameterName"/> - <module name="StaticVariableName"/> - <module name="ClassTypeParameterName"> - <property name="format" value="^[A-Z][0-9]?$"/> - </module> - <module name="MethodTypeParameterName"> - <property name="format" value="^[A-Z][0-9]?$"/> - </module> - - <module name="AvoidStarImport"/> - <module name="RedundantImport"/> - <module name="UnusedImports"/> - <module name="ImportOrder"> - <property name="groups" value="*,javax,java"/> - <property name="separated" value="true"/> - <property name="option" value="bottom"/> - <property name="sortStaticImportsAlphabetically" value="true"/> - </module> - - <module name="WhitespaceAround"> - <property name="allowEmptyConstructors" value="true"/> - <property name="allowEmptyMethods" value="true"/> - <property name="ignoreEnhancedForColon" value="false"/> - <property name="tokens" value=" - ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, - BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, - LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, - LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, - LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, - LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, - PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, - STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/> - </module> - </module> -</module> +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE module PUBLIC + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" + "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> +<module name="Checker"> + <!-- https://github.com/facebook/presto/blob/master/src/checkstyle/checks.xml --> + <module name="FileTabCharacter"/> + <module name="NewlineAtEndOfFile"> + <property name="lineSeparator" value="lf"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="\r"/> + <property name="message" value="Line contains carriage return"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value=" \n"/> + <property name="message" value="Line has trailing whitespace"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="\{\n\n"/> + <property name="message" value="Blank line after opening brace"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="\n\n\s*\}"/> + <property name="message" value="Blank line before closing brace"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="\n\n\n"/> + <property name="message" value="Multiple consecutive blank lines"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="\n\n\Z"/> + <property name="message" value="Blank line before end of file"/> + </module> + <module name="RegexpMultiline"> + <property name="format" value="Preconditions\.checkNotNull"/> + <property name="message" value="Use of checkNotNull"/> + </module> + + <module name="TreeWalker"> + <module name="EmptyBlock"> + <property name="option" value="text"/> + <property name="tokens" value=" + LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF, + LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"/> + </module> + <module name="EmptyStatement"/> + <module name="EmptyForInitializerPad"/> + <module name="EmptyForIteratorPad"> + <property name="option" value="space"/> + </module> + <module name="MethodParamPad"> + <property name="allowLineBreaks" value="true"/> + <property name="option" value="nospace"/> + </module> + <module name="ParenPad"/> + <module name="TypecastParenPad"/> + <module name="NeedBraces"/> + <module name="LeftCurly"> + <property name="option" value="nl"/> + <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/> + </module> + <module name="LeftCurly"> + <property name="option" value="eol"/> + <property name="tokens" value=" + LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, + LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/> + </module> + <module name="RightCurly"> + <property name="option" value="alone"/> + </module> + <module name="GenericWhitespace"/> + <module name="WhitespaceAfter"/> + <module name="NoWhitespaceBefore"/> + + <module name="UpperEll"/> + <module name="DefaultComesLast"/> + <module name="ArrayTypeStyle"/> + <module name="MultipleVariableDeclarations"/> + <module name="ModifierOrder"/> + <module name="OneStatementPerLine"/> + <module name="StringLiteralEquality"/> + <module name="MutableException"/> + <module name="EqualsHashCode"/> + <module name="InnerAssignment"/> + <module name="InterfaceIsType"/> + <module name="HideUtilityClassConstructor"/> + + <module name="MemberName"/> + <module name="LocalVariableName"/> + <module name="LocalFinalVariableName"/> + <module name="TypeName"/> + <module name="PackageName"/> + <module name="ParameterName"/> + <module name="StaticVariableName"/> + <module name="ClassTypeParameterName"> + <property name="format" value="^[A-Z][0-9]?$"/> + </module> + <module name="MethodTypeParameterName"> + <property name="format" value="^[A-Z][0-9]?$"/> + </module> + + <module name="AvoidStarImport"/> + <module name="RedundantImport"/> + <module name="UnusedImports"/> + <module name="ImportOrder"> + <property name="groups" value="*,javax,java"/> + <property name="separated" value="true"/> + <property name="option" value="bottom"/> + <property name="sortStaticImportsAlphabetically" value="true"/> + </module> + + <module name="WhitespaceAround"> + <property name="allowEmptyConstructors" value="true"/> + <property name="allowEmptyMethods" value="true"/> + <property name="ignoreEnhancedForColon" value="false"/> + <property name="tokens" value=" + ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, + BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, + LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, + LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, + LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, + LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, + PLUS, PLUS_ASSIGN, QUESTION, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, + STAR, STAR_ASSIGN, TYPE_EXTENSION_AND"/> + </module> + </module> +</module>