Org.xml.sax.saxexception Input Stream Is Not A Checkstyle File
Read Xml from InputStream and return Document /** * 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.
Alice in chains download festival 2013. “ You’ve got a blank canvas, and you and your band are in the room and there’s the canvas and there’s no other pictures of the old albums hanging up. You know, those are put away in a closet somewhere, so you’re not thinking about them or drawing from them or trying to repeat them or whatever. DuVall began touring with the group in 2006, four years after the death of Layne Staley from a drug overdose. It’s impossible to do that. That is what it was, now what do we do?” “The Devil Put Dinosaurs Here” is ALICE IN CHAINS‘ second album with William DuVall on vocals.
- Org.xml.sax.saxexception Input Stream Is Not A Checkstyle File Free
- Org.xml.sax.saxexception Inputstream Is Not A Checkstyle File
- Org.xml.sax.saxexception Input Stream Is Not A Checkstyle Files
Join GitHub today
Org.xml.sax.saxexception Input Stream Is Not A Checkstyle File Free
- [CHECKSTYLE] Parsing of file /home/bldarea/./checkstyle.xml failed due to an exception.
- Dec 08, 2011 Web Services Forum How to solve org.xml.sax.SAXException: Invalid element in problem.
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upOrg.xml.sax.saxexception Inputstream Is Not A Checkstyle File
Org.xml.sax.saxexception Input Stream Is Not A Checkstyle Files
23 contributors
<?xml version='1.0'?> |
<!DOCTYPEmodule PUBLIC |
'-//Checkstyle//DTD Checkstyle Configuration 1.3//EN' |
'https://checkstyle.org/dtds/configuration_1_3.dtd'> |
<modulename='Checker'> |
<!-- |
If you set the basedir property below, then all reported file |
names will be relative to the specified directory. See |
https://checkstyle.org/config.html#Checker |
<property name='basedir' value='${basedir}'/> |
--> |
<metadataname='org.checkstyle.principle'value='Practice What You Preach'/> |
<metadataname='org.checkstyle.principle.description' |
value='In our config we should use all Checks that Checkstyle has'/> |
<propertyname='cacheFile'value='${checkstyle.cache.file}'/> |
<propertyname='severity'value='error'/> |
<propertyname='fileExtensions'value='java, properties, xml, vm, g, g4, dtd'/> |
<!-- BeforeExecutionFileFilters is required for sources that are based on java9 --> |
<modulename='BeforeExecutionExclusionFileFilter'> |
<propertyname='fileNamePattern'value='module-info.java$' /> |
</module> |
<!-- Filters --> |
<modulename='SeverityMatchFilter'> |
<!-- report all violations except ignore --> |
<propertyname='severity'value='ignore'/> |
<propertyname='acceptOnMatch'value='false'/> |
</module> |
<modulename='SuppressionFilter'> |
<propertyname='file'value='${checkstyle.suppressions.file}'/> |
</module> |
<!-- Tone down the checking for test code --> |
<modulename='SuppressionSingleFilter'> |
<propertyname='checks'value='JavadocPackage'/> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
</module> |
<modulename='SuppressionSingleFilter'> |
<propertyname='checks'value='JavadocMethod'/> |
<propertyname='files'value='.*[/]src[/](test it)[/].*(?<!Support).java'/> |
</module> |
<modulename='SuppressWarningsFilter'/> |
<modulename='SuppressWithPlainTextCommentFilter'> |
<!-- |
Use suppressions.xml for suppressions, this is only example. |
checkFormat will prevent suppression comments from being valid. |
--> |
<propertyname='checkFormat'value='IGNORETHIS'/> |
<propertyname='offCommentFormat'value='CSOFF: .*'/> |
<propertyname='onCommentFormat'value='CSON: .*'/> |
</module> |
<!-- Headers --> |
<modulename='Header'> |
<propertyname='headerFile'value='${checkstyle.header.file}'/> |
<propertyname='fileExtensions'value='java'/> |
<propertyname='id'value='header'/> |
</module> |
<modulename='RegexpHeader'> |
<propertyname='headerFile'value='${checkstyle.regexp.header.file}'/> |
<propertyname='fileExtensions'value='java'/> |
</module> |
<!-- Javadoc Comments --> |
<modulename='JavadocPackage'> |
<propertyname='allowLegacy'value='false'/> |
</module> |
<!-- Miscellaneous --> |
<modulename='NewlineAtEndOfFile'/> |
<modulename='Translation'> |
<propertyname='requiredTranslations'value='de, fr, fi, es, pt, ja, tr, zh'/> |
</module> |
<modulename='UniqueProperties'/> |
<modulename='OrderedProperties' /> |
<!-- Regexp --> |
<modulename='RegexpMultiline'/> |
<modulename='RegexpMultiline'> |
<propertyname='format'value='r?n[t ]*r?n[t ]*r?n'/> |
<propertyname='fileExtensions'value='java,xml,properties'/> |
<propertyname='message'value='Unnecessary consecutive lines'/> |
</module> |
<modulename='RegexpMultiline'> |
<propertyname='format'value='/**W+* +p{javaLowerCase}'/> |
<propertyname='fileExtensions'value='java'/> |
<propertyname='message' |
value='First sentence in a comment should start with a capital letter'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='format'value='s+$'/> |
<propertyname='minimum'value='0'/> |
<propertyname='maximum'value='0'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='format'value='/** +p{javaLowerCase}'/> |
<propertyname='fileExtensions'value='java'/> |
<propertyname='message' |
value='First sentence in a comment should start with a capital letter'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='format'value='^(?!(.*http import)).{101,}$'/> |
<propertyname='fileExtensions'value='g, g4'/> |
<propertyname='message'value='Line should not be longer than 100 symbols'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='format'value='^(?!(s*<a href="[^"]+"> .*http)).{101,}$'/> |
<propertyname='fileExtensions'value='xml, vm'/> |
<propertyname='message'value='Line should not be longer than 100 symbols'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='id'value='noSourceforgeNetLinks'/> |
<propertyname='format'value='checkstyle.sourceforge.net'/> |
<propertyname='message' |
value='Old site links should not be used, please use https://checkstyle.org'/> |
</module> |
<modulename='RegexpSingleline'> |
<propertyname='id'value='noSourceforgeIoLinks'/> |
<propertyname='format'value='checkstyle.sourceforge.io'/> |
<propertyname='message' |
value='Old site links should not be used, please use https://checkstyle.org'/> |
</module> |
<modulename='RegexpOnFilename' /> |
<modulename='RegexpOnFilename'> |
<propertyname='folderPattern'value='[/]src[/]w+[/]java[/]'/> |
<propertyname='fileNamePattern'value='.java$'/> |
<propertyname='match'value='false'/> |
<messagekey='regexp.filepath.mismatch' |
value='Only java files should be located in the 'src/*/java' folders.'/> |
</module> |
<modulename='RegexpOnFilename'> |
<propertyname='folderPattern'value='[/]src[/]xdocs[/]'/> |
<propertyname='fileNamePattern'value='.(xml) (vm)$'/> |
<propertyname='match'value='false'/> |
<messagekey='regexp.filepath.mismatch' |
value='All files in the 'src/xdocs' folder should have the 'xml' or 'vm' extension.'/> |
</module> |
<modulename='RegexpOnFilename'> |
<propertyname='folderPattern'value='[/]src[/]it[/]java[/]'/> |
<propertyname='fileNamePattern'value='^((w+Test) (w+TestSupport) (Abstractw+)).java$'/> |
<propertyname='match'value='false'/> |
<messagekey='regexp.filepath.mismatch' |
value='All files in the 'src/it/java' folder |
should be named '*Test.java' or 'Abstract*.java'.'/> |
</module> |
<!-- Size Violations --> |
<modulename='FileLength'> |
<propertyname='fileExtensions'value='java'/> |
</module> |
<modulename='LineLength'> |
<propertyname='fileExtensions'value='java'/> |
<propertyname='max'value='100'/> |
<propertyname='ignorePattern'value='^ ** *([^ ]+ {@code .* <a href="[^"]+">)$'/> |
</module> |
<!-- Whitespace --> |
<modulename='FileTabCharacter'> |
<propertyname='eachLine'value='false'/> |
</module> |
<modulename='TreeWalker'> |
<propertyname='tabWidth'value='4'/> |
<!-- Annotations --> |
<modulename='AnnotationLocation'> |
<propertyname='tokens'value='ANNOTATION_DEF'/> |
<propertyname='tokens'value='ANNOTATION_FIELD_DEF'/> |
<propertyname='tokens'value='PACKAGE_DEF'/> |
<propertyname='tokens'value='ENUM_CONSTANT_DEF'/> |
<propertyname='tokens'value='VARIABLE_DEF'/> |
<propertyname='allowSamelineSingleParameterlessAnnotation'value='false'/> |
</module> |
<modulename='AnnotationOnSameLine'> |
<!-- we can not use it as it conflicts with AnnotationLocation --> |
<propertyname='severity'value='ignore'/> |
<propertyname='tokens'value='METHOD_DEF'/> |
<propertyname='tokens'value='CTOR_DEF'/> |
<propertyname='tokens'value='TYPECAST'/> |
<propertyname='tokens'value='DOT'/> |
<propertyname='tokens'value='CLASS_DEF'/> |
<propertyname='tokens'value='ENUM_DEF'/> |
<propertyname='tokens'value='INTERFACE_DEF'/> |
<propertyname='tokens'value='TYPE_ARGUMENT'/> |
<propertyname='tokens'value='ANNOTATION_DEF'/> |
<propertyname='tokens'value='LITERAL_NEW'/> |
<propertyname='tokens'value='LITERAL_THROWS'/> |
<propertyname='tokens'value='VARIABLE_DEF'/> |
<propertyname='tokens'value='PARAMETER_DEF'/> |
<propertyname='tokens'value='IMPLEMENTS_CLAUSE'/> |
<propertyname='tokens'value='ANNOTATION_FIELD_DEF'/> |
</module> |
<modulename='AnnotationUseStyle'/> |
<modulename='MissingDeprecated'/> |
<modulename='MissingOverride'/> |
<modulename='PackageAnnotation'/> |
<modulename='SuppressWarnings'> |
<propertyname='format'value='^((?!unchecked deprecation rawtypes resource).)*$'/> |
<messagekey='suppressed.warning.not.allowed' |
value='The warning '{0}' cannot be suppressed at this location. |
Only few javac warnings are allowed to suppress. |
If try to suppress checkstyle/pmd/... violation please do this in their config file. |
If you try to suppress IntelliJ IDEA inspection, |
please use javadoc block tag @noinspection' |
/> |
</module> |
<modulename='SuppressWarningsHolder'/> |
<!-- Block Checks --> |
<modulename='AvoidNestedBlocks'> |
<propertyname='allowInSwitchCase'value='true'/> |
</module> |
<modulename='EmptyBlock'> |
<propertyname='tokens'value='LITERAL_CATCH'/> |
<propertyname='tokens'value='ARRAY_INIT'/> |
<propertyname='tokens'value='LITERAL_DEFAULT'/> |
<propertyname='tokens'value='LITERAL_CASE'/> |
<propertyname='tokens'value='INSTANCE_INIT'/> |
<propertyname='tokens'value='LITERAL_DO'/> |
<propertyname='tokens'value='LITERAL_ELSE'/> |
<propertyname='tokens'value='LITERAL_FINALLY'/> |
<propertyname='tokens'value='LITERAL_FOR'/> |
<propertyname='tokens'value='LITERAL_IF'/> |
<propertyname='tokens'value='LITERAL_SWITCH'/> |
<propertyname='tokens'value='LITERAL_SYNCHRONIZED'/> |
<propertyname='tokens'value='LITERAL_TRY'/> |
<propertyname='tokens'value='LITERAL_WHILE'/> |
<propertyname='tokens'value='STATIC_INIT'/> |
<propertyname='option'value='text'/> |
</module> |
<modulename='EmptyCatchBlock'/> |
<modulename='LeftCurly'/> |
<modulename='NeedBraces'/> |
<modulename='NeedBraces'> |
<propertyname='tokens'value='LAMBDA'/> |
<propertyname='allowSingleLineStatement'value='true'/> |
</module> |
<modulename='RightCurly'> |
<propertyname='tokens'value='METHOD_DEF'/> |
<propertyname='tokens'value='CTOR_DEF'/> |
<propertyname='tokens'value='CLASS_DEF'/> |
<propertyname='tokens'value='INSTANCE_INIT'/> |
<propertyname='tokens'value='LITERAL_FOR'/> |
<propertyname='tokens'value='STATIC_INIT'/> |
<propertyname='tokens'value='LITERAL_WHILE'/> |
<propertyname='tokens'value='LITERAL_CATCH'/> |
<propertyname='tokens'value='LITERAL_ELSE'/> |
<propertyname='tokens'value='LITERAL_FINALLY'/> |
<propertyname='tokens'value='LITERAL_IF'/> |
<propertyname='tokens'value='LITERAL_TRY'/> |
<propertyname='option'value='alone'/> |
</module> |
<modulename='RightCurly'> |
<propertyname='tokens'value='LITERAL_DO'/> |
<propertyname='option'value='same'/> |
</module> |
<!-- Class Design --> |
<modulename='DesignForExtension'> |
<propertyname='ignoredAnnotations' |
value='Override, Test, Before, After, BeforeClass, AfterClass'/> |
</module> |
<modulename='FinalClass'/> |
<modulename='HideUtilityClassConstructor'/> |
<modulename='InnerTypeLast'/> |
<modulename='InterfaceIsType'/> |
<modulename='MutableException'/> |
<modulename='OneTopLevelClass'/> |
<modulename='ThrowsCount'> |
<propertyname='max'value='2'/> |
</module> |
<modulename='VisibilityModifier'/> |
<!-- Coding --> |
<modulename='ArrayTrailingComma'/> |
<modulename='AvoidInlineConditionals'/> |
<modulename='CovariantEquals'/> |
<modulename='DeclarationOrder'/> |
<modulename='DefaultComesLast'/> |
<modulename='EmptyStatement'/> |
<modulename='EqualsAvoidNull'/> |
<modulename='EqualsHashCode'/> |
<modulename='ExplicitInitialization'/> |
<modulename='FallThrough'/> |
<modulename='FinalLocalVariable'/> |
<modulename='HiddenField'> |
<propertyname='ignoreConstructorParameter'value='true'/> |
<propertyname='ignoreSetter'value='true'/> |
<propertyname='setterCanReturnItsClass'value='true'/> |
</module> |
<modulename='IllegalCatch'> |
<propertyname='illegalClassNames' |
value='java.lang.Exception, |
java.lang.Throwable, |
java.lang.RuntimeException, |
java.lang.NullPointerException'/> |
</module> |
<modulename='IllegalInstantiation'> |
<propertyname='classes' |
value='org.xml.sax.SAXException, org.xml.sax.SAXParseException, |
org.apache.commons.beanutils.ConversionException, |
org.antlr.v4.runtime.misc.ParseCancellationException, |
antlr.RecognitionException, antlr.TokenStreamException, |
antlr.TokenStreamRecognitionException, antlr.ANTLRException, |
java.lang.StringBuffer'/> |
</module> |
<modulename='IllegalThrows'/> |
<modulename='IllegalToken'> |
<propertyname='tokens'value='LABELED_STAT'/> |
<propertyname='tokens'value='LITERAL_NATIVE'/> |
<propertyname='tokens'value='LITERAL_VOLATILE'/> |
<propertyname='tokens'value='LITERAL_ASSERT'/> |
</module> |
<modulename='IllegalTokenText'> |
<propertyname='tokens'value='STRING_LITERAL'/> |
<propertyname='format'value='^(US-ASCII ISO-8859-1 UTF-8 UTF-16BE UTF-16LE UTF-16)$'/> |
<propertyname='ignoreCase'value='true'/> |
</module> |
<modulename='IllegalType'> |
<propertyname='illegalClassNames' |
value='java.util.HashSet, HashSet, java.util.LinkedHashMap, LinkedHashMap, |
java.util.TreeMap, TreeMap, java.util.HashMap, HashMap, |
java.util.LinkedHashSet, LinkedHashSet, java.util.TreeSet, TreeSet, |
java.lang.StringBuffer, StringBuffer'/> |
</module> |
<modulename='InnerAssignment'/> |
<modulename='MagicNumber'/> |
<modulename='MissingCtor'> |
<!-- |
we will not use that fanatic validation, extra code is not good |
But this Check will exists as it was created by community demand. |
--> |
<propertyname='severity'value='ignore'/> |
</module> |
<modulename='MissingSwitchDefault'/> |
<modulename='ModifiedControlVariable'/> |
<modulename='MultipleStringLiterals'/> |
<modulename='MultipleVariableDeclarations'/> |
<modulename='NestedForDepth'> |
<propertyname='max'value='2'/> |
</module> |
<modulename='NestedIfDepth'> |
<propertyname='max'value='3'/> |
</module> |
<modulename='NestedTryDepth'/> |
<modulename='NoClone'/> |
<modulename='NoFinalizer'/> |
<modulename='OneStatementPerLine'/> |
<modulename='OverloadMethodsDeclarationOrder'/> |
<modulename='PackageDeclaration'/> |
<modulename='ParameterAssignment'/> |
<modulename='RequireThis'/> |
<modulename='ReturnCount'> |
<propertyname='max'value='1'/> |
<propertyname='maxForVoid'value='0'/> |
</module> |
<modulename='SimplifyBooleanExpression'/> |
<modulename='SimplifyBooleanReturn'/> |
<modulename='StringLiteralEquality'/> |
<modulename='SuperClone'/> |
<modulename='SuperFinalize'/> |
<modulename='UnnecessaryParentheses'/> |
<modulename='UnnecessarySemicolonAfterTypeMemberDeclaration'/> |
<modulename='UnnecessarySemicolonInEnumeration'/> |
<modulename='UnnecessarySemicolonInTryWithResources'/> |
<modulename='VariableDeclarationUsageDistance'/> |
<!-- Filters--> |
<modulename='SuppressionCommentFilter'> |
<!-- |
Use suppressions.xml for suppressions, this is only example. |
checkFormat will prevent suppression comments from being valid. |
--> |
<propertyname='checkFormat'value='IGNORETHIS'/> |
<propertyname='offCommentFormat'value='CSOFF: .*'/> |
<propertyname='onCommentFormat'value='CSON: .*'/> |
</module> |
<modulename='SuppressionXpathFilter'> |
<propertyname='file'value='${checkstyle.suppressions-xpath.file}'/> |
</module> |
<!-- Tone down the checking for test code --> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='[/]internal[/].*[/]w+Util.java'/> |
<propertyname='checks'value='IllegalCatch'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/]test[/]'/> |
<propertyname='checks'value='EmptyBlock'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='JavadocVariable'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='JavadocType'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='MagicNumber'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='AvoidStaticImport'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='WriteTag'/> |
</module> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='MethodCount'/> |
</module> |
<!-- Fixing these cases will decrease code readability --> |
<modulename='SuppressionXpathSingleFilter'> |
<propertyname='files'value='.*[/]src[/](test it)[/]'/> |
<propertyname='checks'value='MultipleStringLiterals'/> |
</module> |
<modulename='SuppressWithNearbyCommentFilter'> |
<propertyname='commentFormat' |
value='-@cs[(w{8,}( w{8,})*)] w[()-.'`,:;w ]{10,}'/> |
<propertyname='checkFormat'value='$1'/> |
<propertyname='influenceFormat'value='3'/> |
</module> |
<!-- Imports --> |
<modulename='AvoidStarImport'/> |
<modulename='AvoidStaticImport'/> |
<modulename='CustomImportOrder'> |
<propertyname='customImportOrderRules' |
value='STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS'/> |
<propertyname='specialImportsRegExp'value='^org.'/> |
<propertyname='sortImportsInGroupAlphabetically'value='true'/> |
<propertyname='separateLineBetweenGroups'value='true'/> |
</module> |
<modulename='IllegalImport'/> |
<modulename='ImportControl'> |
<propertyname='id'value='ImportControlMain'/> |
<propertyname='file'value='${checkstyle.importcontrol.file}'/> |
<propertyname='path'value='^.*[/]src[/]main[/].*$'/> |
</module> |
<modulename='ImportControl'> |
<propertyname='id'value='ImportControlTest'/> |
<propertyname='file'value='${checkstyle.importcontroltest.file}'/> |
<propertyname='path'value='^.*[/]src[/]test[/].*$'/> |
</module> |
<modulename='ImportOrder'> |
<propertyname='groups'value='/^java./,javax,org'/> |
<propertyname='ordered'value='true'/> |
<propertyname='separated'value='true'/> |
<propertyname='option'value='top'/> |
<propertyname='sortStaticImportsAlphabetically'value='true'/> |
</module> |
<modulename='RedundantImport'/> |
<modulename='UnusedImports'/> |
<!-- Javadoc Comments --> |
<modulename='AtclauseOrder'/> |
<modulename='InvalidJavadocPosition'/> |
<modulename='JavadocBlockTagLocation'> |
<!-- default tags --> |
<propertyname='tags'value='author, deprecated, exception, hidden, param, provides'/> |
<propertyname='tags'value='return, see, serial, serialData, serialField, since, throws'/> |
<propertyname='tags'value='uses, version'/> |
<!-- additional tags used in the project --> |
<propertyname='tags'value='noinspection'/> |
</module> |
<modulename='JavadocMethod'> |
<propertyname='allowUndeclaredRTE'value='true'/> |
<propertyname='allowThrowsTagsForSubclasses'value='true'/> |
<propertyname='validateThrows'value='true'/> |
</module> |
<modulename='JavadocParagraph'/> |
<modulename='JavadocStyle'> |
<propertyname='scope'value='public'/> |
</module> |
<modulename='JavadocTagContinuationIndentation'/> |
<modulename='JavadocType'> |
<!-- avoid errors on tag '@noinspection' --> |
<propertyname='allowUnknownTags'value='true'/> |
</module> |
<modulename='JavadocVariable'/> |
<modulename='MissingJavadocMethod'> |
<propertyname='allowMissingPropertyJavadoc'value='true'/> |
</module> |
<modulename='MissingJavadocPackage'/> |
<modulename='MissingJavadocType'/> |
<modulename='NonEmptyAtclauseDescription'/> |
<modulename='SingleLineJavadoc'/> |
<modulename='WriteTag'/> |
<modulename='SummaryJavadoc'/> |
<!-- Metrics --> |
<modulename='BooleanExpressionComplexity'> |
<propertyname='max'value='7'/> |
</module> |
<modulename='ClassDataAbstractionCoupling'> |
<!-- Default classes are also listed--> |
<propertyname='excludedClasses' |
value='boolean, byte, char, double, float, int, long, short, void, |
Boolean, Byte, Character, Double, Float, Integer, Long, Short, Void, |
Object, Class, String, StringBuffer, StringBuilder, |
ArrayIndexOutOfBoundsException, Exception, RuntimeException, |
IllegalArgumentException, IllegalStateException, |
IndexOutOfBoundsException, NullPointerException, Throwable, |
SecurityException, UnsupportedOperationException, List, ArrayList, |
Deque, Queue, LinkedList, Set, HashSet, SortedSet, TreeSet, Map, |
HashMap, SortedMap, TreeMap, DetailsAST, CheckstyleException, |
UnsupportedEncodingException, BuildException, ConversionException, |
FileNotFoundException, TestException'/> |
</module> |
<modulename='ClassFanOutComplexity'> |
<propertyname='max'value='25'/> |
<!-- Default classes are also listed--> |
<propertyname='excludedClasses' |
value='boolean, byte, char, double, float, int, long, short, |
void, Boolean, Byte, Character, Double, Float, Integer, |
Long, Short, Void, Object, Class, String, StringBuffer, |
StringBuilder, ArrayIndexOutOfBoundsException, Exception, |
RuntimeException, IllegalArgumentException, IllegalStateException, |
IndexOutOfBoundsException, NullPointerException, Throwable, |
SecurityException, UnsupportedOperationException, List, ArrayList, |
Deque, Queue, LinkedList, Set, HashSet, SortedSet, TreeSet, Map, |
HashMap, SortedMap, TreeMap, DetailsAST, CheckstyleException, |
UnsupportedEncodingException, BuildException, ConversionException, |
FileNotFoundException, TestException, Log, Sets, Multimap, |
TokenStreamRecognitionException, RecognitionException, |
TokenStreamException, IOException, Override, Deprecated, SafeVarargs, |
SuppressWarnings, FunctionalInterface'/> |
</module> |
<modulename='CyclomaticComplexity'> |
<propertyname='switchBlockAsSingleDecisionPoint'value='true'/> |
</module> |
<modulename='JavaNCSS'/> |
<modulename='NPathComplexity'/> |
<!-- Misc --> |
<modulename='ArrayTypeStyle'/> |
<modulename='AvoidEscapedUnicodeCharacters'> |
<propertyname='allowIfAllCharactersEscaped'value='true'/> |
</module> |
<modulename='CommentsIndentation'/> |
<modulename='DescendantToken'/> |
<modulename='FinalParameters'> |
<!-- |
we will not use that fanatic validation, extra modifiers pollute a code |
it is better to use extra validation(Check) that argument is reassigned |
But this Check will exists as it was created by community demand. |
--> |
<propertyname='severity'value='ignore'/> |
</module> |
<modulename='Indentation'> |
<propertyname='basicOffset'value='4'/> |
<propertyname='braceAdjustment'value='0'/> |
<propertyname='caseIndent'value='4'/> |
<propertyname='throwsIndent'value='8'/> |
</module> |
<modulename='OuterTypeFilename'/> |
<modulename='TodoComment'> |
<propertyname='format'value='(TODO) (FIXME)' /> |
</module> |
<modulename='TrailingComment'/> |
<modulename='UncommentedMain'> |
<propertyname='excludedClasses'value='.(Main JavadocPropertiesGenerator)$'/> |
</module> |
<modulename='UpperEll'/> |
<!-- Modifiers --> |
<modulename='ClassMemberImpliedModifier'> |
<!-- effectively the opposite of RedundantModifier, so output must be ignored --> |
<propertyname='severity'value='ignore'/> |
</module> |
<modulename='InterfaceMemberImpliedModifier'> |
<!-- effectively the opposite of RedundantModifier, so output must be ignored --> |
<propertyname='severity'value='ignore'/> |
</module> |
<modulename='ModifierOrder'/> |
<modulename='RedundantModifier'/> |
<!-- Naming Conventions --> |
<modulename='AbbreviationAsWordInName'> |
<propertyname='ignoreFinal'value='false'/> |
<propertyname='allowedAbbreviationLength'value='0'/> |
<propertyname='allowedAbbreviations'value='AST'/> |
</module> |
<modulename='AbstractClassName'/> |
<modulename='ClassTypeParameterName'/> |
<modulename='ConstantName'/> |
<modulename='InterfaceTypeParameterName'/> |
<modulename='LocalFinalVariableName'/> |
<modulename='LocalVariableName'> |
<propertyname='format'value='^(id) ([a-z][a-z0-9][a-zA-Z0-9]+)$'/> |
<propertyname='allowOneCharVarInForLoop'value='true'/> |
</module> |
<modulename='MemberName'> |
<propertyname='format'value='^(id) ([a-z][a-z0-9][a-zA-Z0-9]+)$'/> |
</module> |
<modulename='MethodName'/> |
<modulename='MethodTypeParameterName'/> |
<modulename='PackageName'/> |
<modulename='ParameterName'> |
<propertyname='format'value='^(id) ([a-z][a-z0-9][a-zA-Z0-9]+)$'/> |
<propertyname='ignoreOverridden'value='true'/> |
</module> |
<modulename='LambdaParameterName'> |
<propertyname='format'value='^(id) ([a-z][a-z0-9][a-zA-Z0-9]+)$'/> |
</module> |
<modulename='CatchParameterName'> |
<propertyname='format'value='^(ex [a-z][a-z][a-zA-Z]+)$'/> |
</module> |
<modulename='StaticVariableName'> |
<propertyname='format'value='^(id) ([a-z][a-z0-9][a-zA-Z0-9]+)$'/> |
</module> |
<modulename='TypeName'/> |
<!-- Regexp --> |
<modulename='Regexp'/> |
<modulename='RegexpSinglelineJava'/> |
<modulename='RegexpSinglelineJava'> |
<propertyname='format'value='[^p{ASCII}]'/> |
<propertyname='ignoreComments'value='true'/> |
</module> |
<!-- Size Violations --> |
<modulename='AnonInnerLength'/> |
<modulename='ExecutableStatementCount'> |
<propertyname='max'value='30'/> |
</module> |
<modulename='MethodCount'> |
<propertyname='maxTotal'value='34'/> |
</module> |
<modulename='MethodLength'/> |
<modulename='OuterTypeNumber'/> |
<modulename='ParameterNumber'/> |
<!-- Whitespace --> |
<modulename='EmptyForInitializerPad'/> |
<modulename='EmptyForIteratorPad'/> |
<modulename='EmptyLineSeparator'> |
<propertyname='allowNoEmptyLineBetweenFields'value='true'/> |
<propertyname='allowMultipleEmptyLinesInsideClassMembers'value='false'/> |
</module> |
<modulename='GenericWhitespace'/> |
<modulename='MethodParamPad'/> |
<modulename='NoLineWrap'/> |
<modulename='NoWhitespaceAfter'> |
<propertyname='tokens'value='ARRAY_INIT'/> |
<propertyname='tokens'value='AT'/> |
<propertyname='tokens'value='BNOT'/> |
<propertyname='tokens'value='DEC'/> |
<propertyname='tokens'value='DOT'/> |
<propertyname='tokens'value='INC'/> |
<propertyname='tokens'value='LNOT'/> |
<propertyname='tokens'value='UNARY_MINUS'/> |
<propertyname='tokens'value='UNARY_PLUS'/> |
<propertyname='tokens'value='ARRAY_DECLARATOR'/> |
<propertyname='tokens'value='INDEX_OP'/> |
<propertyname='tokens'value='METHOD_REF'/> |
</module> |
<modulename='NoWhitespaceBefore'/> |
<modulename='NoWhitespaceBefore'> |
<propertyname='tokens'value='DOT'/> |
<propertyname='tokens'value='METHOD_REF'/> |
<propertyname='allowLineBreaks'value='true'/> |
</module> |
<modulename='OperatorWrap'> |
<propertyname='tokens'value='QUESTION'/> |
<propertyname='tokens'value='COLON'/> |
<propertyname='tokens'value='EQUAL'/> |
<propertyname='tokens'value='NOT_EQUAL'/> |
<propertyname='tokens'value='DIV'/> |
<propertyname='tokens'value='PLUS'/> |
<propertyname='tokens'value='MINUS'/> |
<propertyname='tokens'value='STAR'/> |
<propertyname='tokens'value='MOD'/> |
<propertyname='tokens'value='SR'/> |
<propertyname='tokens'value='BSR'/> |
<propertyname='tokens'value='GE'/> |
<propertyname='tokens'value='GT'/> |
<propertyname='tokens'value='SL'/> |
<propertyname='tokens'value='LE'/> |
<propertyname='tokens'value='LT'/> |
<propertyname='tokens'value='BXOR'/> |
<propertyname='tokens'value='BOR'/> |
<propertyname='tokens'value='LOR'/> |
<propertyname='tokens'value='BAND'/> |
<propertyname='tokens'value='LAND'/> |
<propertyname='tokens'value='TYPE_EXTENSION_AND'/> |
<propertyname='tokens'value='LITERAL_INSTANCEOF'/> |
<propertyname='tokens'value='METHOD_REF'/> |
<propertyname='option'value='nl'/> |
</module> |
<modulename='OperatorWrap'> |
<propertyname='tokens'value='ASSIGN'/> |
<propertyname='tokens'value='DIV_ASSIGN'/> |
<propertyname='tokens'value='PLUS_ASSIGN'/> |
<propertyname='tokens'value='MINUS_ASSIGN'/> |
<propertyname='tokens'value='STAR_ASSIGN'/> |
<propertyname='tokens'value='MOD_ASSIGN'/> |
<propertyname='tokens'value='SR_ASSIGN'/> |
<propertyname='tokens'value='BSR_ASSIGN'/> |
<propertyname='tokens'value='SL_ASSIGN'/> |
<propertyname='tokens'value='BXOR_ASSIGN'/> |
<propertyname='tokens'value='BOR_ASSIGN'/> |
<propertyname='tokens'value='BAND_ASSIGN'/> |
<propertyname='option'value='eol'/> |
</module> |
<modulename='ParenPad'/> |
<modulename='SeparatorWrap'> |
<propertyname='tokens'value='DOT'/> |
<propertyname='tokens'value='AT'/> |
<propertyname='tokens'value='METHOD_REF'/> |
<propertyname='option'value='nl'/> |
</module> |
<modulename='SeparatorWrap'> |
<propertyname='tokens'value='COMMA'/> |
<propertyname='tokens'value='RBRACK'/> |
<propertyname='tokens'value='ARRAY_DECLARATOR'/> |
<propertyname='tokens'value='ELLIPSIS'/> |
<propertyname='tokens'value='SEMI'/> |
<propertyname='option'value='EOL'/> |
</module> |
<modulename='SingleSpaceSeparator'> |
<propertyname='validateComments'value='false'/> |
</module> |
<modulename='TypecastParenPad'/> |
<modulename='WhitespaceAfter'/> |
<modulename='WhitespaceAround'/> |
</module> |
</module> |
Copy lines Copy permalink