<?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"> <property name="severity" value="error"/> <module name="TreeWalker"> <module name="NeedBraces"> <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FOR,LITERAL_IF,LITERAL_WHILE"/> </module> <module name="AvoidInlineConditionals"/> <module name="DeclarationOrder"/> <module name="ReturnCount"/> <module name="NestedTryDepth"/> <module name="SimplifyBooleanExpression"/> <module name="HiddenField"> <property name="tokens" value="VARIABLE_DEF"/> </module> <module name="AbbreviationAsWordInName"> <property name="ignoreStaticFinal" value="true"/> <property name="ignoreFinal" value="false"/> <property name="allowedAbbreviationLength" value="3"/> <property name="tokens" value="VARIABLE_DEF"/> </module> <module name="VisibilityModifier"/> <module name="StringLiteralEquality"> <property name="severity" value="warning"/> </module> <module name="EqualsAvoidNull"> <property name="severity" value="warning"/> </module> </module> </module>