|Tags||java coding-style syntax-checker command-line|
7.627 Feb 2017 18:45 minor feature: add allowEmptyCatches parameter to WhitespaceAroundCheck. NoWhitespaceBefore: Add support for varargs. Google style: allow single character variables. NPathComplexityCheck: set of tokens should not be customizable by user. DesignForExtension: order of annotations change violation. AbbreviationAsWordInName: confusing violation message. AbstractTypeAwareCheck when dealing with nested interfaces. IllegalTokenText in google_checks should not has BACKSPACE character. IndentationCheck: catch child indentation not checked. Indentation: Annotation with RParen on new line when followed by other annotations causes invalid expectation. Code coverage is not working for certain classes in checkstyle. ImportControl: improve xdoc documentation. reevaluate tokens in IllegalTokenText. reevaluate 'default' and 'case' in google config for EmptyBlock. reevaluate tokens in checkstyle config for NeedBraces. Config: forbid assert token by Illegal token Check. reevaluate tokens in google config for OperatorWrapCheck. messages_ja.properties contains funny (wrongly machine-translated) messages. config: Remove redundant and incorrect rules from import control configuration. travis should skip execution if configs of other CIs are changed. doc: Add notes on import control config for inner classes. Rename method in CheckUtil. wercker ci should have most of testing launches on real code to shorten time of Travis execution. Typo in website documentation for JavadocMethod. doc: Known API was added to reference #3810..
7.5.106 Feb 2017 02:25 minor feature: PackageObjectFactory hides real exception. RightCurly: handling of try-with-resources on several lines with CS 7.5. Add the Hibernate Search project to the Checkstyle CI..
7.531 Jan 2017 01:25 minor feature: ParameterName: deprecate 'scope' and 'excludeScope' properties, introduce new property 'accessModifiers'. Ant: Cannot override default Checker. ImportControl should have property which allows to validate specified file path. NullPointerException in AbstractHeaderCheck when cache file specified and no header file. RequireThisCheck doesn't see outer classes for anonymous classes. NPE on type parameter annotations for this. UnusedImports behaviour is different from documentation. Javadoc: Column number of DetailNode is always 0 for first line. FallThrough check doesn't correctly handle try-with-resources. RedundantModifier: no violation on final enum field methods. NPE in RightCurly with LITERAL_DO on do-while without curly braces. reevaluate tokens in google config for NeedBracesCheck. refactoring: RightCurlyCheck code expression. Verify tokens in google config. Verify tokens in checkstyle config. Strive for 100 mutation coverage. doc: typo in config_imports.xml. Investigate pitest tool. add pgjdbc project at NoErrorTest group of tests. use shippable CI in testing. doc: the escaping of AvoidEscapedUnicodeCharactersCheck's javadocs. use new checks and new properties from sevntu.checkstyle project. CI special phase to enforce 644 permissions on all files. create xdoc for FileContentsHolder. doc: incorrect documentation for SuppressWithNearbyCommentFilter. doc: how to generate sources after import project to IntelijIdea..
7.401 Jan 2017 05:05 minor feature: Support LITERAL_SYNCHRONIZED token for NoWhitespaceAfter Rule. google_checks.xml : NO space is allowed method method name and its arguments. Support more tokens in WhitespaceAfter check. Checker: option to allow printing exception as violation and continue execution. ImportControl: allow to load files from resources. NullPointerException when using NeedBraces with tokens LITERAL_CASE, LITERAL_DEFAULT. CustomImportOrder should check that import groups are separated by one line only. RightCurly was misconfigured in google_checks.xml for do-while blocks. keep a map of Check name and it package in source to avoid brute force load by PackageObjectFactory from all packages. Duplicated Checks in google_checks.xml config should have quot;id quot. skip unnecessary exception 'Severity not set, ignoring exception'. EmptyLineSeparator causing violation in `package-info.java`. FinalLocalVariable should not to check multi-catch variables. ImportOrder: Check that import groups aren't separated internally. update documentation about getAcceptableTokens for javadoc Checks. update documentation for VariableDeclarationUsageDistance with allowedDistance = 0. Module term and usage is confusing in test area. Using the SPDX identifier for the license name. XDoc: extend validation to Checker and TreeWalker. travis: use standalone shell files. CustomImportControl bad document examples that could lead to false positive on 'special group'. Add new Sevntu checks and create UT for missing checks. repo files should not have execute permissions. use shippable CI in testing. 100 UT coverage for ParseTreeTablePModel.java. Set Load external DTD feature to be enabled. Modules and XDocs: change setter methods to recieve similar types with field type for easier xdoc validation (more 2). ImportControl: Deprecate 'url' property in favor of the 'file' property. Unexpected loss of coverage for PropertyCacheFile.java. Update _TEMPLATE.md. refactoring to ImportControlCheck. ThreadLocal usage in single thre
7.326 Nov 2016 17:05 minor feature: Javadoc grammar: Delete child nodes in Javadoc TEXT node. Update Google style coverage to state of 12 July 2016. Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation. CLI: Cannot override default Checker. ParameterNameCheck: new scope and excludeScope properties. google_checks.xml CustomImportOrder problem. GUI: Add support of DetailNode objects in CodeSelector. GUI: Inconsistency in AST structure for block-comments. Checker Cache not saving files that have suppressed violations. ImportOrder: checkstyle_checks.xml does not have separate quot;java quot; group. doc: broken link to file filters page. use ForbidAnnotationElementValueCheck from sevntu.checkstyle. Turn on Config Cache File Locally for Developers. document isCommentNodesRequired method in xdoc. Checkstyle tests should not require internet. doc: note was placed to TranslationCheck that it has problems with Checker cache..
7.231 Oct 2016 11:45 minor feature: DesignForExtension: consider overridable methods and javadoc. ImportControl: allow regex in subpackage elements. Allow WhitespaceAround for ARRAY_INIT token. Inconsistency in AST tructure for block-comments. Checker Cache invalidated falsely on load in second run due to external resources. Wrong warning from AvoidEscapedUnicodeCharacters. Add METHOD_REF to the list of valid tokens for OperatorCheck. DetailAST should invalidate childCount cache. DetailAST should invalidate its methods cache (aka lazy-load). Rename PkgControl to ImportControl. split Guard class into two. openjdk8/9 test code should be parseable by checkstyle. use shippable CI in testing..
7.1.202 Oct 2016 02:45 minor feature: Wrong order of quot;default quot; method modifier. EqualsHashCode: hashCode without equals is not a violation. Revert quot;Pull #3162: Update version of commons-collections to 3.2.2 to security vulnerability CVE-2015-6420 quot. Cut down on Checkstyle's dependencies on Guava. doc: the wording in javadoc for TrailingCommentCheck. doc: added missing slash to backport documentation url. doc: added links to cs backport jre6. Replace line-based suppressions with inline ones for Checkstyle's suppressions.xml. Update Checkstyle GUI in order to display Javadoc tokens. ForbidCertainImports config. use CyclomaticComplexity.switchBlockAsSingleDecisionPoint in checkstyle_checks.xml. SuppressCommentFilter not working with ClassDataAbstractionCoupling when specified on class. Resolve IntelijIdea inspection violations for java8. Replace Guava's Joiner with Java 8 native approach. grammar in templates. spelling: PR instructions, YOU -- gt; YOUR..
7.1.106 Sep 2016 14:05 minor feature: EqualsHashCode: hashCode without equals is not a violation. RedundantModifier : missed violations at interface and abstract class methods signatures with final parameters. Remove usage of System.out.println in IT resources. Flaws in German translation. Add NonDex tool to pom.xml and.travis.yml..
7.101 Aug 2016 12:05 minor feature: new CLI option: exclude directories. ImportOrder: make static imports ordering as in Eclipse. Indentation: incorrect expectation for wrapped arguments of chained calls. RedundantModifier: miss violation on extra final in try-with-resources. RequireThisCheck: false positive on static field. FinalLocalVariable: false positive when variable is assigned inside and outside switch-block. RequireThisCheck: NPE when surrounded by braces. IndentationCheckTest makes assumption about the order of HashMap. Create web-page with instructions: how to create Javadoc Check. Update releasenotes generation. Update releasenotes generation. Update PULL_REQUEST_TEMPLATE.md. doc: JavaDoc comments. Online docs: AST example for LITERAL_DO is missing the DO_WHILE node..
7.027 Jun 2016 23:05 minor feature: update checkstyle to jdk8 as runtime jdk. Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation. VisibilityModifier: allow public final fields. Ability to differentiate annotation placement in for each loop from variable declaration. Java 8 Grammar: Parsing of explicit receiver parameters. Java 8 Grammar: annotation on throws types. Java 8 Grammar: annotation on generic type. CommentsIndentation : Check incorrect work with subsequent comments. CommentsIndentation : allow upper comments for following block at multi-block structures. CommentsIndentation : false-positive in empty array declarations. CommentsIndentation: false-positive when a singleline comment follows a block comment. RightCurly rule should properly enforce same rule for LITERAL_DO. Proper support for generics in visibility modifier check. Indentation: incorrect validation for imports and package. Indentation: remove requirement right curlies to be first on line. doc: checkstyle download url. Reduce the number of tasks performed by Travis CI. Cut down on Checkstyle's dependencies on Guava. doc: update for AnnotationLocation examples to be more exact. 6 tests in Checkstyle master branch fail at clean Ubuntu 14.04 Docker container (Java 8, Maven 3). Avoid catching of InvalidPathException and AccessDeniedException in PropertyCacheFile#persist. Review all French translations. Improve French translation for annotations warnings. Create web-page with instructions: how to create Javadoc Check. corrected alphabetical order of the checks. CommitValidationTest.testCommitMessageHasSingleLine to support github default format. XDoc Config: create unit test to verify property types and default values..
6.1930 May 2016 09:45 minor feature: aligned setters with String collection fields and broke old compatibility. new Check: SingleSpaceSeparator. ReturnCount: special option for methods with void return type. new CLI argument: provide abililty to show delevel of logs from checkstyle code. cache usage in presence of filters. CLI Javadoc tree printer doesn't show errors. Block Comments: CR lines not handled the same as LF lines. IllegalTokenTextCheck and IllegalTokenCheck does not work with COMMENT_CONTENT token. Indentation: throwsIndent should configure indentation of `throws` on next line. UnusedImports: value javadoc tag does not reference imports. FileContents confused about number of lines in comment separated by ' r'. Create web-page with instructions: how to create Javadoc Check. XDoc Config: create unit test to verify property types and default values. Some PullRequests validation for commit mesage miss some cases. AnnotationLocation: unclear behavior when annotation is among modifiers. Documentation for ANT property config is incorrect. Sevntu CS not running on all CS code. Update version of commons-collections to 3.2.2(from 3.2.1) to security vulnerability CVE-2015-6420. doc: Indentation property description become worded in the same way..
6.1803 May 2016 05:45 minor feature: Make CLI option to print full parsing tree (java + comments + javadoc comments). Add the ability to validate language codes by TranslationCheck. EmptyLineSeparator to check empty lines inside methods. NullPointerException in FinalLocalVariableCheck with Lambdas. Serious performance problem in All Javadoc Check that are based on ANTLR parser. CommentsIndentation Check - False Positive at End-of-Method. Indentation: line wrap hanlding. Indentation module regression in 6.16 and 6.17. NPE in AnnotationLocationCheck.hasAnnotations. Execution of checkstyle audit failed caused by inherited javadoc tag. AvoidEscapedUnicodeCharacters: Tail comment check failed if there's tabs before tail comment. FinalLocalVariable: false positive when variable is assigned multiple times. Support for LAMDA token in WhitespaceAround check. maven-site-plugin:3.5 has problem to build our website. RegexpOnFilename example from documentation does not work on checkstyle source. Create web-page with instructions: how to create Javadoc Check. IndentationCheckTest: 'exp' in input files are out of sync with test. Some redundant messages. doc: added Codacy to the list of active tools. all for Java found by Codacy static analysis tool. Use Distelli CI for testing of Javadoc Checks. doc: DesignForExtension documentation is extended to warn user about possible misusage of this Check. Fund raising pages for checkstyle. Use DatatypeConverter#printHexBinary to convert byte array to hex String in PropertyCacheFile. SSLHandshakeException exception during linkcheck-maven-plugin. Speed up google_check validation test. Strive for 100 line coverage for java grammar..
6.1726 Mar 2016 03:05 minor feature: Add 'baseName' option and remove 'basenameSeparator' option of TranslationCheck. Make CLI option to be able to print Javadoc tree as plain text. java9: try structure is not parsable when only name is used. All messages translated to Chinese. RequireThis: new option validateOnlyOverlapping. Bad german translation of summary.first.sentence. Ignored file extensions will output unterminated lt;file gt; tags in XML. NPE when running CS with cache with Maven plugin using NewlineAtEndOfFile. Exception when using method reference in lamba quot;Class lt;? gt; ::new quot. ClassNotFoundException when using inherited exception. doc: extending Rationale of NewlineAtEndOfFile with example. Fund raising pages for checkstyle. java8: Create compilable test inputs with all possible cases for method references. upgrade equalsverifier to version 2.0. remove dependency to commons-lang3 library. reenable two sevntu checks. Use Collections.addAll() instead of adding elements individually. Make coverage 100 for all classes at package com.puppycrawl.tools.checkstyle.ant. Localed UTs are failing at CheckstyleAntTaskTest.testXmlOutput. Strive for 100 line coverage for java grammar..
6.16.104 Mar 2016 03:17 minor feature: TokenTypes compatibility problems between 6.15 and 6.16. Allow JUnit ClassRule to be public. FinalParameters should not warn for non-final parameters of native methods. Revert quot;: removed unused FLOAT_SUFfrom java.g quot. all rows in coerage table google_style.html shoudl have anchor. Strive for 100 line coverage for java grammar..
6.1629 Feb 2016 13:25 minor feature: Move Treewalker cache to Checker. Make CLI option to be able to print Javadoc tree as plain text. copy Check class to AbstractCheck class to let deprecate Check class. Print parse tree from CLI to terminal. Skip type annotations from validation of ModifierOrderCheck. Probable typo in com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck. Indentation check reports some incorrect indentation levels on errors. 6.15 complains about missing @return tag in a overridden method. Nesting Checks in each other in config does not produce any error. Forbid multiple violation for the same line in IndentaitonCheck. LeftCurly not working correctly with lambdas. Duplicate error message for static final field in DeclarationOrder check. Translation Check: wrong support for resources with language, country, variant. Checkstyle internal exceptions lack contextual information. Changed semantics of PropertyExpander. Indentation properties not applied properly to lambdas. VisibilityModifier.allowPublicImmutableFields should allow public immutable fields in enums. FinalClass is over aggressive when extending happen inside class. WhitespaceAround should have an option allow double-brace initialization. Exception when using method reference in lamba quot;Class lt;? gt; ::new quot. Wasted disk access. JavadocType doesn't report unused param tag. DeclarationOrder check enforces order that is not possible. Tabs are wrongly handled in Indentation check when line is wrapped. custom javadoc inline tags cause parse error. JavadocStyleCheck: String index out of range: -1. Strive for 100 line coverage for java grammar. Refactor Comments AST Test. doc: example to checkstyle's Ant configuration was added to anttask.html. Travis: add xwiki project to regeression testing. PMD: resolve problems from DefaultPackage rule. doc: Improve javadoc of parameters of AnnotationLocationCheck. java8 compilation broblems in Inputs. Create web-page with instructions: how to create Javadoc Check. PMD ExceptionA
6.1501 Feb 2016 10:45 minor feature: new Check: RegexpOnFilename. SuppressionFilter: new option 'optional' to allow skip SuppressionFilter if config file does not exist. Add possibility to specify a unique ID to all Regexp checks. StringIndexOutOfBoundsException in Indentation check. AbstractJavadocCheck should process only doc comments placed before class, interface, constructor, method, or field declarations. SummaryJavadoc: false quot;end with a period quot; reports when inheritDoc is used. JavadocMethod: allowedAnnotations hides bad javadocs. FinalLocalVariable doesn't report variable when condition separates 2 assignments. Config of Google Style does not include InterfaceTypeParameterName check. Indentation on annotation parameters is wrong. OneStatementPerLine check and lambda expression. Gui should have a splitter bettween tree and code and prefered columns size. RequireThis reports false-positive when an instance method is overloaded with a static one. Add checkstyle messages to xdocs. Setup 'Circle CI' to run checkstyle-tester project on JDK sources. Enforce Checks of sevntu.checkstyle (released version) over Checkstyle source code. Use Codeship CI for testing. Refactor gui package. doc: Add sbt-checkstyle-plugin to list of active tools..
6.14.101 Jan 2016 22:05 minor feature: JavaNCSSCheck: unknown format type: numero inteiro. StringIndexOutOfBoundsException in getCheckShortName method of AuditEventDefaultFormatter. spelling: typo in AuditEventFormatter class name..
6.1303 Dec 2015 06:25 minor feature: Remove access to undocumented check properties. ParameterName: new option to skip methods with Override annotation. False negative in RequireThis check. Checkstyle throws NumberFormatException on Japanese locale when sizes and metrics Checks are used. EmptyLineSeparator check does not validate newlines before class and after last method. FallThroughCheck handles finally incorrectly. EqualsAvoidNull check should #x441;heck String concatenations. minor: remove maven-failsafe-plugin from linkcheck excludes, since link was. minor: build-helper-maven-plugin version bump to 1.10. adjust AbbreviationAsWordInName in checkstyle_checks.xml to catch unexpected abbreviations. additional reported by IntelliJ IDEA inspections in Checkstyle code. minor: improper put that should be get. Code review of CommentsIndentationCheck.java. Remove drag amp;drop from GUI. create HTML web page to describe how to open against Checkstyle. Pull #2607: Update JGit to 188.8.131.52511131810-r. Pull #2605: Make methods private in RequireThisCheck. Tests for validating commit message should not allow period at the end of commit message. doc: Correct xdoc/javadoc for ParameterNameCheck. unify IT test code. minor: separated tests so one subject per file. Deactivate 'allowSamelineSingleParameterlessAnnotation' property of AnnotationLocation in Checkstyle config. Create test for checkstyle-X.X-all.jar on Travis. Pull #2586: Update slf4j-simple to 1.7.13. Pull #2585: Update FindMaven Plugin to 3.0.3. PMD: resolve problems from DefaultPackage rule. minor: wrong variable usage in AbstractOptionCheck. Remove usage of System.out.println in IT resources. Unify naming of all files with IT inputs. UT to validate google/sun style xdocs. Unify naming of all files with test inputs. spelling: strange japanese. Improve documentation for CovariantEquals check..
6.12.106 Nov 2015 18:25 minor feature: ParameterName: Add 'ignoreOverridden' option to skip methods with @Override annotation. RedundantModifier at final methods in anonymous class. Performance-Optimization: Do not recompile Pattern for each file/line. Skipping validation for non empty classes when allowEmptyTypes is true. NeedBraces: allow no body loops. Make 'processJavadoc' property 'true' by default. Spelling: strange japanese. Removed excess hierarchy from several Checks. Deprecated AbstractIllegalCheck. Removed xdoc google style links to master. Removed xdoc links to master. Added xdoc example url validation. Added xdoc check order validation, all xdoc are sorted. Validate existence of config file sooner. Reorganized checkstyle_checks.xml. Describe token sets in 'writing checks' section in xdoc. Update System Rules to 1.13.0..
6.1202 Nov 2015 09:05 minor feature: CommentsIndentationCheck doesn't report errors at end of block. NoWhitespaceAfterCheck. NPE in EqualsAvoidNull check. FinalLocalVariable false-negative. Exclude lines with package in LineLength check. NPE in NeedBraces.isSingleLineFor. JavaDocMethod: Exception thrown for incomplete @return tag if next line is empty. reusability of JavaDoc checks. blank line indentification for EmptyLineSeparator check. Support for @SuppressWarnings( quot;all quot;). Make SuppressWarningsFilter case-insensitive. NPE in ModifiedControlVariable on SuppressWarnings. Do not recognize '//' as valid Javadoc. Make JavadocType check customizable by list of tokens. FALSE positive in JavadocStyle check on inheritDoc tag. Ignore missing Javadoc for 'serialVersionUID' fields. Exclude lines with imports in LineLength check. IllegalTypeCheck, requiredTokens is set to IMPORT only. CLI should print a file name where exception is happen. LeftCurly: add Anonymous class to allowed tokens. Deploy snapshots versions in CI. require all filters appear in checkstyle_checks.xml. removed xdoc of CustomImportOrder.samePackageMatchingDepth. added xdoc check validation. Run CheckStyle on Full Test Directory. invalid xml examples in xdocs. flush audit outputs sooner. unify test input locations for whole project. removed excess hierarchy from few Check. Bunch of refactoring and code optimizarion. Update list of missing tools. Sonarqube found problems in Checkstyle. Replaced outdated link for bamboo-checkstyle-plugin. forbiddenapis' plugin added to maven config. Update list of related Tools. skip all analysers during deploy. usage of error-prone plugin is commented out till problems with Eclipse resovled. Inconvenience to deUTs after recent changes in BaseCheckTestSupport. PMD violations for ShortVariable rule. PMD violations PreserveStackTrace. PMD violations EmptyMethodInAbstractClassShouldBeAbstract. PMD violation ConfusingTernary. rename CheckUtils.isVoidMethod to isNonVoidMethod. Decrease visibility of package
6.11.209 Oct 2015 11:05 minor feature: Make ConfigurationLoader.loadConfiguration public. Create UT to check that all checkstyle modules have xdocs. Split config.html into few pages. Create xdoc documentation for FileContentsHolder. Add GENERIC_START and GENERIC_END into list of acceptable tokens in xdocs of NoWhiteSpaceAfter and WhiteSpaceAround. Add COMMA into list of acceptable tokens in xdocs of NoWhiteSpaceBefore. minor refactoring, helper method was added. jgit resource leaks in commit validation. Ilja Dubinin was added as developer. Add WILDCARD_TYPE into list of acceptable tokens in xdocs of WhitespaceAround..
6.11.105 Oct 2015 06:45 minor feature: Add lambda support to indentation check. Coverage has been increased to 100 in 'checks' package. Resolve Doxia Site Renderer warnings. Update plexus-compiler-javac-errorprone to 2.6. Update JGit to 184.108.40.206509141540-r. release failure due to unknown Javadoc tag..
6.1128 Sep 2015 20:05 minor feature: Restore 'url' option for ImportControl. New option 'requiredTranslations' to Translation check. New option 'switchBlockAsSingleDecisionPoint' for CyclomaticComplexityCheck. java grammar for unicode escape. Add basic thread-safety to Javadoc checks. NPE in FinalLocalVariableCheck. NoWhitespaceAfter, NoWhitespaceBefore and WhitespaceAround don't support GENERIC_START nor GENERIC_END tokens. Add support of lambdas which parameter types are omitted for HiddenFieldCheck. RedundantModifier check at final classes in interfaces. Print missing cause of exception to console on error. not working excludeScope in JavadocMethod check. RedundantModifier check to recognise inner classes accessible from global scope. CustomImportOrderCheck rule priorities. false negative in AtclauseOrder check. IllegalStateException in JavadocTypeCheck. Allow COMMA again in NoWhiteSpaceBefore. HiddenField false positive violations for anonymous classes. Added support of logging severity for all audit events. Allow @return tags from annotation types. redundant modifier false positive for abstract classes in interfaces. Ignore classes nested in interaces or annotations in Final Class Check. Detect nested enums marked as static in RedundantModifier check. NPE in MutableExceptionCheck.isExtendedClassNamedAsException. Change message in SummaryJavadocCheck. Update HTML documentation to describe all options for all checks. Make link for each row of Google style coverage table. Add docs about while idiom to InnerAssignment check. additional reported by IntelliJ IDEA inspections in Checkstyle code. SuppressionsLoaderTest UT was stabilized. ROOT locale added in checker creation for UT; travis updated with a new check. Update Error Prone to 2.0.5. Add quot;Input quot; preto test input files. Create MacOS matrix item for Travic-CI. POM still references nexus.codehaus.org repo. Make coverage 100 for TokenTypesDoclet. Make coverage 100 for all classes at package com.puppycrawl.tools.checkstyle.checks. Use Sta
6.10.102 Sep 2015 21:45 minor feature: Broken compatibility with maven-checkstyle-plugin:2.15 at checkstyle:6.10.
6.910 Aug 2015 10:25 minor feature: Change default value of property quot;format quot; to quot; Abstract.* quot; in, New option for, Fixed NPE in MultipleVariableDeclarationsCheck Issue. Added column number into violation messages for RightCurlyCheck and LeftCurlyCheck. Fix BooleanExpressionComplexity check violations in Checkstyle code. Add new option for RightCurlyCheck. Updated configuration for Eclipse Mars in xdoc. updated Xdoc and Javadoc for ImportOrder and CustomImportOrder. Remove from dependecies deprecated jar commons-beanutils-core.jar. RedundantModifier for inner classes and enum constructors. Add missing xdocs for allowMultipleEmptyLines property of EmptyLineSeparatorCheck. Add setter for 'ignoreEnums' in LeftCurlyCheck. JavadocType does not check parameters in inner classes. ImportOrderCheck. Fix separation for static imports. Fix for SuperClone and SuperFinalize checks reporting violations on native methods. Fix FallThroughCheck fails on if with no else. fix JavadocParagraph allows new line before the next paragraph. Fix RegexpHeader causing exception with default config. Fix OneStatementPerLine on multiple field initialization bug. extend target list fo SuppressWarningsHolder. provide human message for SuppressWarningsHolder. Raising exception for CustomImportOrder.SAME_PACKAGE. Enable CustomImportOrder. Add UniquePropertiesCheck into checkstyle_checks.xml. Refactoring of FinalLocalVariableCheck to avoid 'fall through' violation. Add Organize Imports instructions to site. Fixed compilation error for CustomImportOrder input file. ImportOrder enabled in configuration. Number of updates for. Fixed incorrect Google Java Style links. Refactoring of RightCurlyCheck. Apply various improvements over Checkstyle test code. Apply various improvements over Checkstyle code. Remove unnecessary consecutive lines in Checkstyle code. Fix some SonarQube violations. Enable NonEmptyAtclauseDescription check on Checkstyle code. fix for UTs on Windows7 and do not conflict with WindowsServer. Investigate
6.8.205 Aug 2015 18:45 minor bugfix: Incorrect xml structure at google_checks.xml.
6.8.105 Jul 2015 07:05 minor feature: Cannot use config file bundled in jar. NullPointerException at java.util.regex.Pattern from com.puppycrawl.tools.checkstyle.checks.regexp.DetectorOptions.getPattern. StackOverflow at java.util.regex.. StackOverflow in com.puppycrawl.tools.checkstyle.checks.regexp.MultilineDetector.findMatch. RightCurly: Curly brace ' ' should be on line by itself not reported for method with annotation..
6.830 Jun 2015 18:05 minor feature: Detect only label as illegal token in, Add possibility to configure targets for, Set default value of max property to 4 for, Restoring method FileContents.getFileName() to keep backward compatibility for some time. Rename CheckStyleTask to CheckstyleAntTask, Rename and move checkstyletask.properties. Remove AnnotationUtility and ScopeUtils from API package. New option for correction of parsing of attributes in, Replace hardcoded message in, Solution to wrong variable reported because of name shadowing in, Clarify misleading command line tool (CLI) output. solution to CLI fails when it could not find output file. Fixed exception in, Solution to quot;Incorrect config file cause CLI finish with error but no output with details quot; solves #1180. Fix exception in, Fix value pair representation in, Do not generate violation for empty, Fix exception in. gitignore with Eclipse's.externalToolBuilders and.checkstyle from Checkstyle CS Eclipse Plug-in. 100 test coverage for com.puppycrawl.tools.checkstyle.checks.sizes. Fix empty html pages for extending Checkstyle and style configurations. move non-compilable input to resources-noncompilable. Minor update in, PMD violations: UncommentedEmptyMethod, EmptyMethodInAbstractClassShouldBeAbstract, AbstractNaming. Fix violation of EmptyStatement, UncommentedMain, AvoidEscapedUnicodeCharacters, AbbreviationAsWordInName Checks in Checkstyle code. Ineffective suppressions are removed from checkstyle's configs. Checking existance of config file before processing target file. Changed Integration Tests to use /src/it/. Updated description for UnusedImports, RedundantImport, Change quot;Beginning Development quot; page to reference JDK1.8. UT coverage for RedundantImport. AvoidStarImportCheck check, Added UTs for getAcceptableTokens() and getRequiredTokens(). CyclomaticComplexity applied with level 11. NPathComplexity: extend documentation to make clear how it works, suppression rules for NPathComplexity. Content section was added to e
6.701 Jun 2015 09:45 minor feature: Remove FastStack from API. Util classes should be moved out of api package. method TreeWalker.setClassloader() was renamed to TreeWalker.setClassLoader() with deprecation of old method. New quot;ignorePrivateMethods quot; property for, New quot;crlf quot; option for lineSeparator property in, Make message-based checks invariant to Locale. Fix no possibility to set English language explicitly in config. Do not verify overriding methods in, Fix, Fix, Add support for canonical class names in, Fix, Fix equals and hashCode in SuppressionFilter, SuppressElement, IntRangeFilter, LocalizedMessage and remove obsolete toString. Add quot;/ quot; quot;+ quot; and quot;- quot; to list of allowed tokens in, Extend, Fix exception in, Fix exception in, Magic Number annotation detection enhanced for arbitrary parent nodes in, Improve standard package regexp for, Fix NPE in, Include enums in, Fix parsing of allowedAnnotations property in, Change location of left curly braces to end of line. Make coverage 100 for all classes at package com.puppycrawl.tools.checkstyle.checks.sizes. 100 test coverage for com.puppycrawl.tools.checkstyle.checks.design. removing dead code and refactoring in, Replace deprecated PosixParser with DefaultParser. remove dead code from, remove dead code from, Make tests of Main class platform independent. removing abandoned test input files. Fix typos. Fix PMD violations for number of rules. Enable multiple Checkstyle checks on Checkstyle codebase. Update commons-cli to 1.3. Update wagon-ssh to 2.9. Update maven-assembly-plugin to 2.5.4. Update cobertura-maven-plugin to 2.7. Complete descriptions in checks index. Remove obsolete space from general error message. Add missing space in error message for, resolving Findbugs violation:, huge refactoring for CLI Main class. Option allowPublicFinalFields does not exist in.
6.627 Apr 2015 17:05 major feature: New option for MagicNumber to ignore magic numbers in field declarations. New option for ModifiedControlVariable Check to ignore validation of variables defined in for which are not change in for iterator part. Extend LeftCurly check to verify static initializers. Extend EmptyBlock check to verify synchronized blocks. Fix generics with arrays handling in NoWhitespaceAfter. Fix upper/lower case conversation, enhance tests . Introduce new handler SynchronizedHandler for checking identation. added validation for header in setHeader in RegexpHeaderCheck.java to provide better feedback when an invalid Pattern is specified. Delete System.exit() and delegate exit control into separate method. Repair ignored test. Fix AnnotationLocation violation in Checkstyle codebase. Fix AvoidStaticImport check violations in codebase. Fix AtclauseOrder check violations in codebase. Resolve Javadoc problems found by Checkstyle. Replace all occurrences of FastStack with ArrayDeque. Fix PMD violations from numerous ruleset in Checkstyle. Fix PMD violations from numerous ruleset in Checkstyle. Update Apache Commons Lang to 3.4. Use use Java 7 instead of custom logic for relative paths. Add test for non existing cache file. Use entrySet iterator to fix FindBugs violations. Integrate Gitter with Checkstyle. Resolve some problems in Javadoc reported by Java 8. Disable Findbugs for 'grammars' package. Update Maven Compiler Plugin to 3.3. Update FindBugs Maven Plugin to 3.0.1. Update Maven Javadoc Plugin to 2.10.3. Use SVG badge for coveralls.io. all TODO/FIXME were removed , some of them converted to issues . all findbugs validation rules are activated. .
6.529 Mar 2015 07:25 minor feature: Class checkstyle.api.Utils was moved to checkstyle.Utils. New sortStaticImportsAlphabetically property for ImportOrder check that allows alphabetical grouping order in static group. New allowSingleLineStatement property for NeedBraces check to allow one-line statements. New ignoreAnnotationCanonicalNames property for VisibilityModifier check, to ignore fields with particular annotations. New validateEnhancedForLoopVariable property for FinalLocalVariable check to enforce final variables in for each clause. CustomImportOrder checks import sorting according to ASCII order instead of case-insensitive alphabetical order. Fix failing EmptyLineSeparator check on multiple imports or fields. Fix ignoreSetter property of HiddenField not working for one letter fields. Token WILDCARD_TYPE was added to WhitespaceAround check. SuppressionCommentFilter does not suppress StrictDuplicateCode warnings. AnnotationsUseStyle yields warning on quot;( ) quot; of Array types. Fix bug with lambda params in FinalLocalVariable check. Final Local Variable Check, extended acceptable tokens. Add support of logging severity for all audit events. Fix typo in violation message of ModifierOrder check. Add anchors to sections. Extended guide for newbies. Remove printStackTrace(...) from whole code. Move content from available_checks.html to checks.html. EmptyCatchBlock check, updated docs. Add post field for mailing lists. Automate Code Coverage Validation. Update all Maven plugins to latest versions. Resolve all violations that were found by default PMD maven plugin rule sets. Add maven-project-info-reports-plugin to POM. Several fixes for problems found by Findbugs. Add OverloadMethodsDeclarationOrder to Available Checks page. Add test to verify that all checks are present on website. Remove deprecated getLines() methods from Utils. Deprecate FastStack and replace it with ArrayDeque. Huge amount of refactoring and improvements, some of them without issue reference. Use Guava Closeables to manage
6.4.105 Mar 2015 18:25 minor feature: Visibility Modifier Check, updated option setter. Generic Whitespace Check, updated method references processing. Hidden Field Check, updated docs for 'ignoreFormat' option. Clarified all Indentation Input files for certain expected values. Update of maven plugins. Fix incorrect author anf typos in release notes for issue.
6.401 Mar 2015 13:05 minor feature: New Check: Empty Catch Block Check for Google Style Guide. New option for Visibility Modifier Check, to allow public immutable fields. Added support of Windows line separator to Javadoc parser. Fixed UTs. Fix NPE when setting classpath field. Illegal Type Check, updated memberModifiers option setting. Boolean Expression Complexity Check, fixed NPE. Final Local Variable Check, fixed false-positive. Abstract Class Name Check, updated default regex. Empty Line Separator Check, fixed Exception if file doesn't have header. BooleanExpressionComplexity misidentifies integer expression as boolean expression. Fixed typo in 'ignoreOverriden' property of IllegalThrowsCheck. Annotation Location Check, extended typo fixing. Javadoc comments for JAVADOC_TAG and JAVADOC_INLINE_TAG related nodes. Linkcheck report, fixed errors. Refactored UTs. Site: feeds icons were added. TreeWalker update, added logging warning if AcceptableTokens are broken. Acceptable tokens are specified for all checks. Suppression Comment Filter, extended docs for messageFormat option. Site: moved 'Extending Checkstyle' to Developers groups. Update some maven plugin in pom.xml. Reformat and fix example for AnnotationUseStyle. Require at least Maven 3.0.1 to build Checkstyle. Site: moved 'Extending Checkstyle' to Developers groups, issue #606. Replace `StringBuffer` with `StringBuilder` to improve performance. Repair typos in UniqueProperties description. Replace verbose type arguments with diamond type. Fix for typos in documentation. Use Collections.addAll() instead of adding elements individually. Added missed @Test annotation on test-case 'IndentationCheckTest.testMethodCallLineWrap'. IndentationCheck. Refactoring: got rid of anonymous classes. Fix table display. In config_whitespace, a comma was incorrectly replaced with a period. Update config links in Google Style html page.
6.303 Feb 2015 13:25 minor feature: New option to HiddenField, to skip builder methods - setterCanReturnItsClass. New option to Checker and TreeWalker to specify file extensions. New option to Empty Line Separator Check, for managing empty lines between class members. New option to Indentation to avoid C style. New option to Illegal Throws Check due to twitter custom checks. New option to Javadoc Method Name Check - ignore method name regex. New option to Illegal Type Check to control valiadtion baseon modifiers - memberModifiers, updated default illegal types. Extended Method Name Check to ignore overriden methods. Allow basedir property of Checker module to be set to NULL. Custom Import Order Check, third-party package meaning is adjusted. Final Local Variable Check, fixed false-positive. Illegal Type Check, fixed false positives on same file names, added support of analyzing imports. Suppress Warnings Holder - fixed throwing exception if annotation uses constant value. No Whitespace After Check, fixed NPE, fixed false-positives at multidimensional arrays. message is extended according to google/guava/issues/1891. Annotation Location Check, fixed typo in property name. Code examples of filters' usage. Changes to checkstyle's configuration for Checkstyle (Prefixes are removed, indentation for SWITCH block is changed). Custom Import Order Check, rewrote compare method. Switched Checkstyle and all resources to UTF-8 encoding. Logging of exceptions to console. Got rid of javadoc warning. Resolved maven compilation warnings. Refactored tests from blocks package. Turn on -r recursive by default in CLI. Fixes for suppression examples. Repair Sonarqube problems found in Checkstyle.
6.229 Dec 2014 11:45 minor feature: Serious compatibility problems with versions 5.9, 6.0 and 6.1 . Added basenameSeparator configuration option for TranslationCheck. Added google and sun configs to jar. Added UT for lambda expressions for InnerAssignmentCheck. Build and install the tests jar artifact. Final Local Variable Check, fixed false-positive - native method's param should be declared final. Final Parameters Check, added option allows ignoring primitive types as params. Unsatisfiable Indentation module scenario with difficult annotations. Fixed false-positive in GenericWhitespaceCheck. Fix InnerAssignment check for lambda expressions. Generic Whitespace Check, fixed bug - ' gt;' is followed by an illegal character. InnerTypeLast within methods. AnnotationUseStyle closingParens check failed. RequireThis triggers when try-with-resources defines resource with same name as method. NullPointerException with SuppressWarningsHolder and enum fields. ParameterNumber check option to ignore methods with an @Override. MutableException check requires class to explicitly extend some other class. Need Braces, added option which allows one line if-statements without braces. Redundant Modifier Check fixed bug with warning on final variables in default methods. Redundant Modifier Check, fixed false-positive Redundant modifier final error for @SafeVarargs method. Summary Javadoc Check, added 'specify period' option. Suppress Warnings Check, annotation param in constant. Suppress Warnings Check, annotation param in constant. Checkstyle is switched to jdk7. Abstract Aware Type Check marked as deprecated, removed Redundant Throws Check. JUnitTestCaseCheck was removed from Checkstyle. Remove StrictDuplicateCodeCheck and whole package. removing ignoreDirectoryName option from PackageDeclarationCheck. All UTs Inputs are now compilable. Fix for typos in documentation, fixes for Sonar violations, pom formatting, latest JUnit 4.12, .... . New maven profile quot;assembly quot; for quick buil
6.1.130 Nov 2014 00:25 minor feature: Generics in postfix expression before method referencec can be parsed now. ArrayIndexOutOfBoundsException if Indentation and FileContentsFolder are enabled. Create ParseErrorMessage if error message is null during Javadoc parsing. Added to all identifier definitions at javadoc grammar. Fixed NumberFormatException while logging in AbstractJavadocCheck. Indentation check fails for switch statements. v CLI flag for querying the installed Checkstyle version. Checkstyle logo was changed.
6.115 Nov 2014 03:15 minor feature: Huge performance optimization for JavaDoc parsing. In scope of issue , quot;FileContents.getLines() quot; performance fix. Fix for MultiMap empty collections garbage. Preformance fix for RegexpCheck. Removing unnecessary char copying to reduce GC-pressure. Using BitSet for indent levels for performance. Various documentation/spelling issues with AnnotationLocationCheck. Multidimensional arrays can be parsed now. AnnotationLocationCheck, package location was chaged, one option was renamed.
6.024 Oct 2014 03:15 minor feature: Support of single-line and block comments in parse tree. ANTLR4 grammar for parsing Javadoc comments. AnnotationLocationCheck. AtclauseOrderCheck. JavadocParagraph. JavadocTagContinuationIndentation. SingleLineJavadocCheck. NonEmptyAtclauseDescriptionCheck. Update for existing JavadocMethodCheck to satisfy Google's style requirements. All binaries are now compiled by Jdk6. Jdk5 is not supported any more.
5.918 Oct 2014 10:05 minor bugfix: Support of Java8 syntax. Enourmous update on Indentation Check. Fixed IllegalInstantiationCheck, so it won't recognize a constructor reference (Java8) as instantiation. Since Java 8 we can have methods body in interfaces.Default modifier has been added to modifier list. Fixed bug in DefaultComesLast check. Fixed IndexOutOfBoundsException in CustomImportOrderCheck.
ManageYou can also help out here by:
← Update project
or flagging this entry for moderator attention.