| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| |
| <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> |
| |
| <!-- |
| This configuration file was written by the eclipse-cs plugin configuration editor |
| --> |
| <!-- |
| Checkstyle-Configuration: checkstyle for eclipse |
| Description: none |
| --> |
| <module name="Checker"> |
| <property name="severity" value="warning"/> |
| <property name="fileExtensions" value="java, properties, xml"/> |
| <module name="TreeWalker"> |
| <module name="FileContentsHolder"/> |
| <module name="ConstantName"/> |
| <module name="LocalFinalVariableName"/> |
| <module name="LocalVariableName"/> |
| <module name="MemberName"/> |
| <module name="MethodName"/> |
| <module name="PackageName"/> |
| <module name="ParameterName"/> |
| <module name="StaticVariableName"/> |
| <module name="TypeName"/> |
| <module name="AvoidStarImport"/> |
| <module name="IllegalImport"/> |
| <module name="RedundantImport"/> |
| <module name="UnusedImports"> |
| <property name="processJavadoc" value="false"/> |
| </module> |
| <module name="LineLength"> |
| <property name="max" value="120"/> |
| </module> |
| <module name="MethodLength"/> |
| <module name="ParameterNumber"/> |
| <module name="EmptyForIteratorPad"/> |
| <module name="GenericWhitespace"/> |
| <module name="MethodParamPad"/> |
| <module name="NoWhitespaceAfter"/> |
| <module name="NoWhitespaceBefore"/> |
| <module name="OperatorWrap"/> |
| <module name="ParenPad"/> |
| <module name="TypecastParenPad"/> |
| <module name="WhitespaceAfter"/> |
| <module name="WhitespaceAround"/> |
| <module name="ModifierOrder"/> |
| <module name="RedundantModifier"/> |
| <module name="AvoidNestedBlocks"/> |
| <module name="EmptyBlock"/> |
| <module name="LeftCurly"/> |
| <module name="NeedBraces"/> |
| <module name="RightCurly"/> |
| <module name="EmptyStatement"/> |
| <module name="EqualsHashCode"/> |
| <module name="IllegalInstantiation"/> |
| <module name="InnerAssignment"/> |
| <module name="MagicNumber"> |
| <property name="constantWaiverParentToken" value="TYPECAST,METHOD_CALL,EXPR,ARRAY_INIT,UNARY_MINUS,UNARY_PLUS,ELIST,STAR,ASSIGN,PLUS,MINUS,DIV,LITERAL_NEW"/> |
| </module> |
| <module name="MissingSwitchDefault"/> |
| <module name="SimplifyBooleanExpression"/> |
| <module name="SimplifyBooleanReturn"/> |
| <module name="FinalClass"/> |
| <module name="HideUtilityClassConstructor"/> |
| <module name="InterfaceIsType"/> |
| <module name="VisibilityModifier"> |
| <property name="protectedAllowed" value="true"/> |
| <property name="allowPublicFinalFields" value="true"/> |
| </module> |
| <module name="ArrayTypeStyle"/> |
| <module name="TodoComment"> |
| <property name="severity" value="ignore"/> |
| <property name="format" value="TODO: "/> |
| <message key="todo.match" value="TODO: ''{0}'' 。"/> |
| <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> |
| </module> |
| <module name="UpperEll"/> |
| </module> |
| <module name="SuppressionCommentFilter"/> |
| <module name="NewlineAtEndOfFile"/> |
| <module name="Translation"/> |
| <module name="FileLength"/> |
| <module name="FileTabCharacter"/> |
| <module name="SuppressionFilter"> |
| <property name="file" value="${config_loc}\checkstyle-suppressions.xml"/> |
| </module> |
| </module> |