blob: 01e8dba4bb202a46dd482a928d8c01b64b0d1790 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
This configuration file was written by the eclipse-cs plugin configuration editor
-->
<!--
Checkstyle-Configuration: ipojo local
Description: none
-->
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="severity" value="warning"/>
<property name="localeLanguage" value="en"/>
<module name="TreeWalker">
<module name="JavadocMethod">
<property name="allowUndeclaredRTE" value="true"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<property name="allowMissingPropertyJavadoc" value="true"/>
</module>
<module name="JavadocVariable"/>
<module name="ConstantName"/>
<module name="LocalFinalVariableName"/>
<module name="MemberName">
<property name="format" value="m_[a-zA-Z0-9]*$"/>
</module>
<module name="LocalVariableName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="StaticVariableName">
<property name="format" value="^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/>
</module>
<module name="TypeName"/>
<module name="Header">
<property name="header" value="/* \n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * &quot;License&quot;); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */"/>
</module>
<module name="AvoidStarImport"/>
<module name="IllegalImport"/>
<module name="ImportOrder"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="ImportControl">
<property name="severity" value="ignore"/>
</module>
<module name="OperatorWrap"/>
<module name="MethodParamPad"/>
<module name="ParenPad"/>
<module name="TabCharacter"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<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,LCURLY,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,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
</module>
<module name="EmptyForInitializerPad"/>
<module name="EmptyForIteratorPad"/>
<module name="TypecastParenPad">
<property name="tokens" value="RPAREN,TYPECAST"/>
</module>
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<module name="AvoidNestedBlocks"/>
<module name="EmptyBlock">
<property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/>
</module>
<module name="LeftCurly">
<property name="maxLineLength" value="150"/>
</module>
<module name="NeedBraces"/>
<module name="RightCurly"/>
<module name="AvoidInlineConditionals">
<property name="severity" value="info"/>
</module>
<module name="IllegalInstantiation"/>
<module name="EqualsHashCode">
<property name="severity" value="ignore"/>
</module>
<module name="EmptyStatement"/>
<module name="DoubleCheckedLocking"/>
<module name="FallThrough"/>
<module name="HiddenField"/>
<module name="UnnecessaryParentheses"/>
<module name="SimplifyBooleanReturn"/>
<module name="SimplifyBooleanExpression"/>
<module name="RedundantThrows"/>
<module name="PackageDeclaration"/>
<module name="MultipleVariableDeclarations"/>
<module name="MultipleStringLiterals">
<property name="severity" value="ignore"/>
</module>
<module name="ArrayTypeStyle"/>
<module name="Indentation"/>
<module name="JavadocType">
<property name="scope" value="package"/>
<property name="authorFormat" value="&lt;a href=&quot;mailto:dev@felix.apache.org&quot;&gt;Felix Project Team&lt;/a&gt;"/>
</module>
<module name="JavadocStyle">
<property name="checkEmptyJavadoc" value="true"/>
</module>
<module name="JavaNCSS">
<property name="severity" value="ignore"/>
</module>
<module name="AnonInnerLength"/>
<module name="ExecutableStatementCount">
<property name="severity" value="ignore"/>
<property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
</module>
<module name="CovariantEquals"/>
<module name="DefaultComesLast"/>
<module name="DeclarationOrder"/>
<module name="FinalLocalVariable">
<property name="severity" value="ignore"/>
</module>
<module name="MissingSwitchDefault"/>
<module name="FinalClass"/>
<module name="InterfaceIsType"/>
<module name="BooleanExpressionComplexity"/>
<module name="AbstractClassName">
<property name="severity" value="ignore"/>
</module>
<module name="IllegalThrows"/>
<module name="IllegalType">
<property name="severity" value="info"/>
<property name="tokens" value="METHOD_DEF,PARAMETER_DEF,VARIABLE_DEF"/>
</module>
</module>
<module name="NewlineAtEndOfFile"/>
</module>