What's new in Eclipse Checkstyle Plug-in 10.16.0
Apr 29, 2024
- New:
- #14620 - LITERAL_CASE token support in RightCurlyCheck
- Bug fixes:
- #14765 - OverloadMethodDeclarationOrder check ignores anything besides methods
- #14788 - MagicNumberCheck NPE when ignoring field declarations
- #14092 - UnusedLocalVariable does not support local classes
- #12923 - UnusedImports does not report unused static imports when the method is used as a method reference
New in Eclipse Checkstyle Plug-in 10.15.0 (Apr 1, 2024)
- Breaking backward compatibility:
- 14615 - fix ordering of AST under STRING_TEMPLATE_BEGIN and remove empty STRING_TEMPLATE_CONTENT nodes
- New:
- 11340 - Add ignoreMethodAnnotatedBy property to ParameterNumberCheck
- Bug fixes:
- 11230 - FallThrough check false positive with labelled break
- 3110 - some messages are still hardcoded in english
- Other Changes:
- Enforce new naming convention "InputXpath{Checkname}Xxxx.java" in IT area
- Wrap `assertThrows` with `getExpectedThrowable` method.
- Expand XPath IT Regression Testing
- Enforce input naming convention in IT
- Remove '//ok' comments from Input files
- Enable examples tests
- Resolve Pitest Suppression in Pitest-Javadoc Profile
- update JavadocTokenTypes.java to new format of AST print
- Resolve CheckerFramework violations
- Use module properties macro in all templates
New in Eclipse Checkstyle Plug-in 10.14.2 (Mar 17, 2024)
- Bug fixes:
- Transitive dependency rejection after Guava upgrade to 32.1.3-jre. Author: lukasgraef #14123
- GenericWhitespaceCheck: Handling of whitespace between generic and record header. Author: sktpy #14502
- JavadocStyle doesn't work with inline `@return`. Author: Omar Bakry #12600
- Notes:
- Refactor AbstractModuleTestSupport and InlineConfigParser to support XML configs in Input files without extra detalization on modules. Author: Minghao Li #14653
- Enable examples tests. Author: Minghao Li #13345
- Expand XPath IT Regression Testing. Author: Minghao Li #6207
- Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Tanay #13999
- update JavadocTokenTypes.java to new format of AST print. Author: SteLeo1602, MANISH-K-07 #14631
- spelling: Some traditional Chinese characters were changed to simplified Chinese. Author: zhen6.gao
- Cover pitest survivals with tests. Author: Mauryan Kansara #14019
New in Eclipse Checkstyle Plug-in 10.14.1 (Mar 11, 2024)
- Performance regression from 10.12.4 to 10.13.0. Author: Nick Mancuso #14566
- False positive in RightCurly with 'alone_or_singleline' RightCurlyOption in try/catch. Author: mahfouz72 #12020
- some messages are still hardcoded in english. Author: MANISH-K-07 #3110
- False positive error from JavadocType with record. Author: sktpy #13309
- VariableDeclarationUsageDistance: no violation to move variables closer to block. Author: mahfouz72 #3502
New in Eclipse Checkstyle Plug-in 10.14.0 (Feb 28, 2024)
- New:
- Checkstyle fails to parse unnamed variable. Author: Nick Mancuso #13988
- Bug fixes:
- GenericWhitespace Check ignores exception to the ">" rule for succeeding whitespaces. Author: sktpy #14344
New in Eclipse Checkstyle Plug-in 10.13.0 (Jan 28, 2024)
- New:
- 14289 - IllegalTokenText support for STRING_TEMPLATE_CONTENT
- 13830 - Support Java 21 string template syntax
- Bug fixes:
- 12238 - "Unable to persist cache file" if target directory is a symlink
- Other Changes:
- Enforce file size on Java inputs
- Enable checks from Error Prone Support
- Enable examples tests
- Remove '//ok' comments from Input files
- Expand XPath IT Regression Testing
- Resolve Pitest Suppression in Pitest-Javadoc Profile
- CustomImportOrder property 'customImportOrderRules' should be String[]
- PropertyCacheFileTest Failing: 3 Test Methods Failing Along With testSymbolicLinkResolution() Causing Issue
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files
- Use module properties macro in all templates
- Make Checkstyle an (automatic) module
New in Eclipse Checkstyle Plug-in 10.12.7 (Jan 1, 2024)
- Bug fixes:
- False positive in MissingSwitchDefault for switch statement where null label is present.
- HiddenField false positive on inner records.
- Indentation: split line new array not checked
- Notes:
- Use module properties macro in all templates.
- Resolve Pitest Suppression in Pitest-Javadoc Profile.
- Enable checks from Error Prone Support.
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files.
- Add support to our Inputs for lines with multiple violations.
- Enable examples tests.
- Enforce file size on Java inputs.
- Transitive dependency rejection after Guava upgrade to 32.1.3-jre.
- Remove '//ok' comments from Input files .
- Cover pitest survivals with tests.
- Expand XPath IT Regression Testing.
- File name too long error.
- Update CI to have Maven Version 3.8.8, update min required maven version in pom to 3.6.3 .
New in Eclipse Checkstyle Plug-in 10.12.6 (Dec 7, 2023)
- Bug fixes:
- Regexp: violation pointing to line 0 while other Checks count first line as 1. Author: Suniti #14064
- Notes:
- Resolve CheckerFramework violations. Author: Roman Ivanov #14084
- Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti #13999
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Suniti #11446
- Test inputs should be completely standalone.. Author: piyush bakde, Pubudu Fernando #4845
- Expand XPath IT Regression Testing. Author: Rohanraj123 #6207
- Update CI to have Maven Version 3.8.8, update min required maven version in pom to 3.5.4 . Author: piyush kumar sadangi #13970
- Fix typo in Indentation check for word 'initialisation'. Author: Redeem-Grimm-Satoshi #13783
- Remove ArchUnit FreezingArchRule as it unstable to skip line numbers and any other extra changes . Author: Roman Ivanov #14053
- Enable examples tests. Author: rishivardhanm, Yukai Xiao #13345
- use valid SPDX license identifier. Author: Michael Keppler #13889
- Cover pitest survivals with tests. Author: Suniti #14019
- Re-enable ArchUnit Testing. Author: Roman Ivanov #13544
- Surefire test exclusion can cause NoClassDefFoundError on case-insensitive file system. Author: Stephan Schroevers #14042
- migrate SuppressWarningsHolder to use property macro. Author: piyush kumar sadangi, Roman Ivanov #13839
- Use module properties macro in all templates. Author: Roman Ivanov #13693
- doc: add direct link to check. Author: Nick Mancuso
- Resolve pitest survivals in modules - 4. Author: Kevin222004 #13672
- Migrate magicnumber.xml.template to use properties template. Author: piyush kumar sadangi #13930
New in Eclipse Checkstyle Plug-in 10.12.5 (Nov 14, 2023)
- Bug fixes:
- Indentation: Switch expression doesn't pass with LeftCurlies on newlines. Author: Markus Jung #14014
- Notes:
- Resolve pitest survivals in modules - 5. Author: Kevin222004, Nick Mancuso, Roman Ivanov #13809
- Resolve pitest survivals in modules - 2. Author: Kevin222004, Roman Ivanov #13321
- Since version is determined incorrectly by property macros at returncount.xml.template. Author: Rohanraj123 #13934
- Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti #13999
- Enable examples tests. Author: piyush kumar sadangi, Tanay Morakhia, Suniti, Tanay, piyush bakde, Rohanraj123, Aayush #13345
- Expand XPath IT Regression Testing. Author: Suniti #6207
- doc: Added reference to the Checkstyle extension for bld. Author: Erik C. Thauvin
- Migrate illegaltype.xml.template to use properties template. Author: Suniti, Aayush #13893
- Specify violation messages in input files. Author: Suniti, sushant1987 #11214
- Migrate multiplestringliterals.xml.template to use properties template. Author: piyush kumar sadangi #13933
- Run regression testing in CI over openjdk21. Author: Nick Mancuso #13982
- Remove call to Lexer#removeErrorListeners. Author: Nick Mancuso #12186
- Migrate DescendantToken to properties macros. Author: piyush kumar sadangi #13885
- Test inputs should be completely standalone.. Author: Tanay Morakhia, Suniti, Guneetsinghtuli, Rohanraj123 #4845
- Update Javadoc checks to avoid // violation in Javadoc comments. Author: Suniti #13969
- Targeted Pitest Mutation in July 2023. Author: Kevin222004 #13328
- create validation of git status on Windows environments. Author: Kumar Kalpadiptya Roy #11816
- Improve XdocGenerator to generate file in temp folder and replace xdoc only on success. Author: Aayush #13869
- Enforce Linux Style End-of-Line (LF instead of CRLF) in all XML files for windows environment.. Author: Kumar Kalpadiptya Roy #13770
- migrate FinalLocalVariable xdoc to use property macro. Author: Aayush #13853
- Use module properties macro in all templates. Author: Roman Ivanov #13693
- SpotBugs: checks a map with containsKey(), before using get(). Author: Aayush #13877
- migrate IllegalToken to properties macros. Author: piyush kumar sadangi #13860
- Fix typo in Indentation check for word 'initialisation'. Author: Suniti #13783
- infra: do not allow in-progress site action to be cancelled by skipped run. Author: Nick Mancuso #13863
- Resolve pitest for FinalLocalVariableCheck. Author: Ruslan Diachenko #12671
- MacroExecutionException: TypecastParenPadCheck: Failed to find setter javadoc for property 'option'. Author: piyush kumar sadangi #13867
- Remove '//ok' comments from Input files . Author: Suniti, Rohanraj123 #13213
- migrate to property macros IllegalTokenText . Author: piyush kumar sadangi #13859
- Enforce file size on Java inputs. Author: Rohanraj123 #11163
- False Positive and Negative in SummaryJavaDocCheck. Author: Aayush #13347
- infra: actionlint bad yaml. Author: Aayush #13765
- Infra: enable dependabot for github actions. Author: Aayush #12984
- 'javadoc.unclosedHtml' message is not present in documentation for most Javadoc Checks. Author: piyush kumar sadangi #13775
- Use violation messages macro in all templates. Author: piyush kumar sadangi, Roman Ivanov #13627
- .vscode folder must be added to .gitignore to avoid getting tracked by git.. Author: Aayush #13834
- Convert Parent Modules to Macro. Author: Roman Ivanov #13829
- Resolve pitest survivals in modules - 4. Author: Kevin222004, Roman Ivanov #13672
- Node.js 12 actions are deprecated.. Author: Aayush #13045
- Document ability to use whitespace in array configuration properties. Author: Redeem-Grimm-Satoshi #13650
- Create a Checkstyle module to enforce comment formatting in input files. Author: piyush kumar sadangi #13797
New in Eclipse Checkstyle Plug-in 10.12.4 (Oct 2, 2023)
- Bug fixes:
- MissingDeprecated shows unclear message on not closed html tag. Author: piyush kumar sadangi #13745
- Notes:
- Resolve pitest survivals in modules - 5. Author: Kevin222004 #13809
- Resolve pitest survivals in modules - 4. Author: Vyom-Yadav, Kevin222004 #13672
- Assert that properties are ordered alphabetically in xdoc. Author: Stoyan Kostadinov, Roman Ivanov #13666
- Enable examples tests. Author: piyush kumar sadangi, Guneetsinghtuli, Rohanraj123, Nick Mancuso #13345
- Test inputs should be completely standalone.. Author: Guneetsinghtuli #4845
- Remove '//ok' comments from Input files . Author: piyush kumar sadangi, Rohanraj123, Nick Mancuso #13213
- Surviving pitest mutations for conditions reducing time complexity at PackageObjectFactory. Author: Ruslan Diachenko #11902
- Extend `generate-extra-site-links.sh` to not include deleted pages in comments. Author: Nick Mancuso #13175
- Order properties alphabetically in xdocs and javadocs. Author: Stoyan Kostadinov, Roman Ivanov #13668
- Add Examples Macro Support to All Checks. Author: piyush kumar sadangi #13732
- Typo. Author: Clint-Mathews #13735
- Fix Pitest script to recognize unstable mutations. Author: Vyom-Yadav #13492
- Resolve pitest survivals in modules - 3. Author: Kevin222004 #13501
- Targeted Pitest Mutation in July 2023. Author: Ruslan Diachenko #13328
- Create checks to place violations on missing macros in templates. Author: Nick Mancuso #13682
- Use module properties macro in all templates. Author: Roman Ivanov #13693
- Update Violation Message in Input files for FallThroughCheck. Author: Kumar Kalpadiptya Roy #13552
- Simplify requirement for what we consider a setter method in ClassAndPropertiesSettersJavadocScraper. Author: Stoyan Kostadinov #13680
- NonEmptyAtclauseDescription examples are cut in website. Author: Roman Ivanov #13660
- Move CheckUtil#isGetterMethod and CheckUtil#isSetterMethod to MissingJavadocMethodCheck. Author: piyush kumar sadangi #13596
- Implement module properties macro. Author: Stoyan Kostadinov #13399
- Get rid of module javadoc examples. Author: Stoyan Kostadinov #13429
- Fix existing cases of `getFileContents()` usage. Author: Kevin222004 #11166
- Create tests from xdoc examples. Author: Stoyan Kostadinov #13100
New in Eclipse Checkstyle Plug-in 10.12.3 (Aug 28, 2023)
- Bug fixes:
- UnnecessarySemicolonAfterTypeMemberDeclaration throws Exception on on Local Class. Author: piyush kumar sadangi #13411
- Record pattern causes checkstyle to fail in JDK 20 (preview). Author: Nick Mancuso #13279
- Notes:
- Ensure only forward slashes are in relative link to parent module. Author: Stoyan Kostadinov #13656
- Resolve pitest survivals in modules - 3. Author: Kevin222004 #13501
- Use violation messages macro in all templates. Author: Stoyan Kostadinov #13627
- Use parent module macro in all templates. Author: Stoyan Kostadinov #13610
- Create tests from xdoc examples. Author: Stoyan Kostadinov, stoyanK7 #13100
- Resolve pitest survivals in modules - 2. Author: Kevin222004 #13321
- setup UnnecessaryOkComment module and suppressions (related to…. Author: Nick Mancuso #13556
- CircleCI periodically failing with yml violations on site.yml. Author: Roman Ivanov #13567
- Enable examples tests. Author: Nick Mancuso #13345
- Update doc of FallThroughCheck to use same java snippet example . Author: Kumar Kalpadiptya Roy #12974
- Create templates from xdocs. Author: Stoyan Kostadinov #13498
- Exclude xdocs from line length validation and validate templates instead. Author: Stoyan Kostadinov #13499
- Remove from EmptyLineSeparator documentation attention note about no xpath suppression support . Author: piyush kumar sadangi #13506
- Implement parent module macro. Author: Stoyan Kostadinov #13434
- Add a test to ensure examples have a paragraph with an id before them. Author: Stoyan Kostadinov #13428
- Restore usage of TreeSet. Author: Stoyan Kostadinov #13505
- Implement module violation messages macro. Author: Stoyan Kostadinov #13422
- Targeted Pitest Mutation in July 2023. Author: Kevin222004 #13328
- Move all example tests to extend `AbstractExamplesModuleTestSupport`. Author: Stoyan Kostadinov #13496
- Add `@since` in javadoc of each property setter. Author: Stoyan Kostadinov #13421
- Add links to examples paragraphs. Author: Stoyan Kostadinov #13205
- Fix package/resource location in example tests. Author: Stoyan Kostadinov #13484
New in Eclipse Checkstyle Plug-in 10.12.2 (Jul 30, 2023)
- Bug fixes:
- FinalClassCheck should report private classes without constructor.
- Notes:
- Resolve pitest survivals in module - 2
- Create tests from xdoc examples.
- Add `@since` in javadoc of each property setter.
- Implement examples macro and xdoc template parser.
- Update doc of FallThroughCheck to use same java snippet example.
- update link check to only check internal links in PRs.
- Run regression testing in CI over openjdk20.
- Specify violation messages in input files.
- Restore xdoc-javadoc validation.
- Extend `getXdocsFilePaths` to gather `.xml.vm` files and get rid of `getAllXdocFilePaths`.
- Move section comments to include whole examples and shorten xml configs length.
- Test inputs should be completely standalone..
- Targeted Pitest Mutation in July 2023.
- doc: update VisibilityModifier examples to match tests.
- Resolve pitest survivals in modules.
- maven site plugin is failing to execute site goal with compiler plugin 3.11.0.
- Write a test to ensure checks are present in menu.
- Resolves Pitest for VariableDeclarationUsageDistanceCheck.
- Rendering issues with website.
- BDD configuration comments should be in XML.
- Update issue template after split of website to use individual page for module.
New in Eclipse Checkstyle Plug-in 10.12.1 (Jun 25, 2023)
- Bug fixes:
- SimplifyBooleanExpressionCheck throw NullPointerException while checking ternary operator. Author: Sebastien #13140
- Notes:
- Move Filters and File Filters to be a sibling of Checks in site menu. Author: stoyanK7 #13283
- Create tests from xdoc examples. Author: stoyanK7 #13100
- Remove redundant check name in anchor. Author: stoyanK7 #13288
- Resolve pitest survivals in modules. Author: Kevin222004 #13109
- Extend checkstyle-examples-checks. Author: stoyanK7 #13244
- Split modules' xdoc into separate pages. Author: stoyanK7 #13097
- Create separate ant-phase-verify execution for xdocs-examples. Author: stoyanK7 #13116
- Mobile page rendering requires extra font difference for properties . Author: stoyanK7 #13195
- Ensure category index page tables are in sync with checks.xml page table. Author: stoyanK7 #13285
- Fail linkcheck on internal broken site link. Author: stoyanK7 #13176
- Fix broken anchors in subdirectories/subpages. Author: stoyanK7 #13190
- Doc: update AbstractClassName examples to match tests. Author: stoyanK7
- Resolve pitest for FinalLocalVariableCheck. Author: Kevin222004 #12671
- Resolves Pitest for VariableDeclarationUsageDistanceCheck. Author: Kevin222004 #13095
- Doc: update ConstantName examples to match tests. Author: stoyanK7
- Resolves Pitest for DeclarationOrderCheck. Author: Kevin222004 #13102
- Resolves Pitest for AbstractSuperCheck. Author: Kevin222004 #13108
- Create initial xdocs-test folder structure. Author: stoyanK7 #13105
New in Eclipse Checkstyle Plug-in 10.12.0 (May 27, 2023)
- New:
- Support record patterns (preview-feature in Java 19) as described by JEP 405. Author: Nick Mancuso #12507
- Notes:
- Improve code coverage for GUI classes. Author: Dami Lee, alimhtsai, “MrPatchz” #11514
- Broken Link: Github search links are broken in documentation. Author: shamith2 #13059
- LineLength check documentation incorrectly shows how to work with tabWidth property . Author: shamith2 #13005
- Update doc for UnusedImports. Author: Tanay #13007
- Specify violation messages in input files. Author: “MrPatchz” #11214
- .ci/pitest.sh --list doesn't show all pitest profiles on Mac. Author: Ruslan Diachenko #13063
- Doc: new release cycle. Author: Roman Ivanov
- Site Action generate bad link to index page. Author: stoyanK7 #13054
New in Eclipse Checkstyle Plug-in 10.11.0 (May 10, 2023)
- New:
- False Negative: UnnecessaryParenthesesCheck. Author: Kevin222004 #11109
- Bug fixes:
- VariableDeclarationUsageDistance not able to handle try with resources properly. Author: jxr98 #11968
- Not last return javadoc tag cause parse error. Author: Omar Bakry #12864
- Notes:
- Kill survivng mutation in DefaultComesLastCheck.java. Author: jxr98 #12889
- make_report has warning on deprecation . Author: Omar Bakry #13031
New in Eclipse Checkstyle Plug-in 10.10.0 (Apr 26, 2023)
- New:
- New filter: SuppressWithNearbyTextFilter to suppress checks with inline comments in any file type. Author: stoyanK7 #11939
- Notes:
- Enforce file size on Java inputs. Author: Omar Bakry, sd9616 #11163
- Specify violation messages in input files. Author: shivam, sd9616, Sloent #11214
- Improvements to diff report generation. Author: Nick Mancuso #12991
- Resolve pitest for FinalLocalVariableCheck. Author: coderdeadpool #12671
- Resolve pitest suppression for FinalLocalVariableCheck. Author: coderdeadpool #12997
- Add more unit test cases for VariableDeclarationUsageDistanceCheck. Author: Xinrui Jiang #12976
- Check_issues job have warning on deprecation. Author: Omar Bakry #12978
- Fix windows line endings in GitHub event text. Author: Nick Mancuso #12995
- Doc: remove extra space. Author: 7h3-3mp7y-m4n
- Resolve pitest suppression for FallThroughCheck. Author: shivam #12943
- Resolve pitest suppression for AbstractViolationReporter. Author: Shubh Srivastava #12876
- Use Environment Files instead of `set-output` in GitHub Actions.. Author: stoyanK7 #12696
- Expand XPath IT Regression Testing. Author: Omar Bakry, sd9616 #6207
- Create script for appending text to $GITHUB_OUTPUT. Author: stoyanK7 #12954
- Github CI does not run upon `Github, rebase` action. Author: stoyanK7 #11134
- Grammar error in documentation of AbstractClassNameCheck.xml . Author: bhganesh #12932
- Diff-Report action does not post link to report in GitHub comment. Author: stoyanK7 #12794
- Re-enable action lint. Author: stoyanK7 #12678
- Update doc for VisibilityModifier. Author: Omar Bakry #7616
- Add 3 to earliest change variable to compensate for diff context. Author: stoyanK7 #12940
- Fix concurrency group for site action. Author: stoyanK7 #12942
- Generate site workflow should provide more specific links. Author: stoyanK7 #12853
- Update doc for DesignForExtension. Author: ziweiwang98 #7608
- Update doc for DescendantToken. Author: shivam #7587
- Update doc for Translation. Author: shivam #7593
New in Eclipse Checkstyle Plug-in 10.9.3 (Mar 26, 2023)
- Bug fixes:
- False positive about MagicNumber. Author: Kevin222004 #12687
- Notes:
- Fail set-milestone if no milestone is found. Author: stoyanK7 #12909
- Add repository owner environment variable in release process. Author: stoyanK7 #12840
- doc: describe in cli doc that folder can be used. Author: Roman Ivanov
- Keep spacing between job steps consistent. Author: stoyanK7 #12851
- Resolve pitest suppression for BeforeExecutionFileFilterSet. Author: Shubh Srivastava #12878
- Typo in Documentation of VariableDeclarationUsageDistance. Author: jxr98 #12898
- Kill surviving mutation in FilterSet.java. Author: Shubh Srivastava #12887
- Deprecate com.puppycrawl.tools.checkstyle.api.AutomaticBean. Author: stoyanK7 #5337
- Expand XPath IT Regression Testing. Author: zyrate #6207
- Resolve pitest suppression for FilterSet. Author: Shubh Srivastava #12879
- Update doc for SuppressionCommentFilter. Author: Shubh Srivastava #12827
- Use Shellcheck to resolve violations code in Shell Script. Author: shubh220922 #11637
- Update doc for NonEmptyAtclauseDescription. Author: shivam #7604
- Ensure new-milestone-and-issues-in-other-repos always pulls latest commit. Author: stoyanK7 #12866
New in Eclipse Checkstyle Plug-in 10.9.2 (Mar 20, 2023)
- Bug fixes:
- #12809 - Improve performance of lambda processing
- Other Changes:
- Make twitter-releasenotes job depend on update-github-page
- Restore curl --fail-with-body
- Specify violation messages in input files
New in Eclipse Checkstyle Plug-in 10.9.1 (Mar 16, 2023)
- Bug fixes:
- A false negative about the rule ClassMemberImpliedModifier. Author: Andrei Paikin #11569
New in Eclipse Checkstyle Plug-in 10.8.1 (Mar 9, 2023)
- Bug fixes:
- LocalizedMessage should use ModuleName in compareTo method. Author: rnveach #4930
- Notes:
- Fix 'set-milestone-on-referenced-issue'. Author: stoyanK7 #12801
- Specify violation messages in input files. Author: Naoto Kuwayama #11214
- Update documentation for AnnotationUseStyle. Author: Naoto Kuwayama #7571
- Execute upload of -all jar separately. Author: stoyanK7 #12792
- Switch to PAT secret in set-milestone workflow. Author: stoyanK7 #12799
- Remove execution of upload -all jar from new-milestone-and-issue-in-other-repo. Author: stoyanK7 #12793
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: jxr98 #11446
- Add forgotten secret inherit in release. Author: stoyanK7 #12797
- Create GitHub action to put current milestone on issue of closed PR. Author: stoyanK7 #12497
- Use dynamic names for release workflow runs. Author: stoyanK7 #12785
- Make action to trigger all release steps. Author: stoyanK7 #12720
- CommitValidationTest fails on revert commits. Author: stoyanK7 #12766
- Keep workflow input descriptions consistent. Author: stoyanK7 #12776
New in Eclipse Checkstyle Plug-in 10.8 (Feb 26, 2023)
- Breaking backward compatibility:
- Remove Serializable interface from Violation class and EventObject extension from AuditEvent
- Other Changes:
- Specify violation messages in input files.
- Make action to trigger all release steps
- Make scripts and configurations filenames consistent
- CommitValidationTest should ignore the release process
- Use Shellcheck to resolve violations code in Shell Script
- Update doc for JavadocType
- Release perform action is failing
- Replace all usages of xmlstarlet with getCheckstylePomVersion from util.sh
- confg: cancel 10.8.0 release, see details in #12762
- End of free builds for CloudBees CodeShip
- Define variable for non-main-files-suppressions file
- Fix RegexpOnFileNameCheck message keys
- pitest: groovy does not run when profile fails
- Resolve surviving annotation mutations for pitest
- Checker: false violation removals on other failures
- Validation for next version in GitHub action
- pitest-survival-check-xml.groovy: prints nothing when there are no differences
- `pitest-survival-check-xml.groovy` should automatically update list of suppressions
- Remove admins from white list on commit validation
- Github action "Release perform"
- pitest: validate wildcards on target classes
- Issue 12705: remove .m2 for codenarc execution to make it more stable on download
- Github action to copy to sourceforge does not work
- update all release action to have 'Setup local maven cache' step to optimize download of artifacts
- Push 'all' jar action is not working and not failing execution
New in Eclipse Checkstyle Plug-in 10.7 (Jan 31, 2023)
- Breaking backward compatibility:
- Remove CheckstyleAntTask's classpath parameter. Author: rnveach #12338
- New:
- Support latest pattern matching syntax in switch labels. Author: Nick Mancuso #12515
- Bug fixes:
- UnnecessaryParentheses: false negative on unnecessary parenthesis. Author: Kevin222004 #11643
- Notes:
- action 'R: Close/Create Milestone' is not working. Author: stoyanK7, Roman Ivanov #12570
- Resolve surviving pitest-design-check mutations for pitest. Author: rnveach #12641
- Resolve surviving pitest-coding-require-this-check mutations for pitest. Author: rnveach #12626
- linkcheck report full of error on damaged links to javadoc. Author: rnveach #11572
- Resolve violation from ResultOfMethodCallIgnored inspection. Author: rnveach #11589
- All Github CI workflows should have concurrency of 1. Author: Nick Mancuso #12645
- Picocli's coloring interfering with tests. Author: rnveach #12667
- Remove Apex project from usage in testing . Author: rnveach #7815
- Resolve surviving pitest-metrics-check mutations for pitest. Author: rnveach #12637
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Shubh Srivastava #11446
- Resolve Pitest for profile coding-2. Author: Kevin222004 #12331
- Resolve surviving pitest-blocks mutations for pitest. Author: rnveach #12615
- doc: explanation on versioning of checkstyle. Author: Roman Ivanov
- Corrects classes scanned for pitest to include sub-classes. Author: rnveach #12622
- Resolve surviving pitest-whitespace mutations for pitest. Author: rnveach #12601
- Resolve surviving sizes mutations for pitest. Author: rnveach #12592
- Empty ErrorStream in `checker-framework.groovy` to prevent buffer exhaustion and external processes from blocking. Author: Vyom-Yadav #12522
- Resolve surviving pitest-java-ast-visitor mutations for pitest. Author: rnveach #12594
- Specify violation messages in input files.. Author: Shubh Srivastava #11214
- Resolve surviving modifier mutations for pitest. Author: rnveach #12587
- Resolve surviving naming mutations for pitest. Author: rnveach #12589
- Restore pitest.sh to ease operation on local. Author: Roman Ivanov #12557
- Lint GitHub Actions workflows executed twice. Author: Nick Mancuso #12568
- `bump_license_year.yml` not adding year to commit message.. Author: Vyom-Yadav #12572
New in Eclipse Checkstyle Plug-in 10.6 (Jan 1, 2023)
- Breaking backward compatibility:
- 12520 - Simplify JavadocStyleCheck: remove functionality for missing package-info Javadoc
- Bug fixes:
- 12409 - Inconsistent allowedAbbreviations when a method contains an underscore
- 12486 - NoWhitespaceAfter false positive on synchronized method
- 11807 - Null pointer exception with records in RequireThisCheck
New in Eclipse Checkstyle Plug-in 10.5 (Nov 27, 2022)
- New:
- Allow 3rd party Check providers to group modules under custom parent module. Author: rnveach #11644
- Bug fixes:
- Checkstyle 10.3.3 and newer throws NullPointerException on annotated generic types from IllegalType rule. Author: Nick Mancuso #12443
- False positive in NoWhiteSpaceAfter. Author: Andrei Paikin #12345
- EmptyForInitializerPad: ArrayIndexOutOfBoundsException. Author: Andrei Paikin #12291
- Notes:
- Resolve Pitest suppression for RightCurlyCheck. Author: Arin Modi #12441
- Remove new curl parameter from all GitHub actions for release . Author: stoyanK7 #12456
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Arin Modi, Shubh Srivastava #11446
- Github action "Copy site to sourceforge". Author: stoyanK7 #12081
- Issue #11604: separates detail ast from xpath. Author: rnveach #11617
- PMD warning in execution logs. Author: rnveach #12448
- Failure of update github.io to clone checkstyle.github.io. Author: stoyanK7 #12168
- Enforce file size on Java inputs. Author: Arin Modi #11163
- Failure to publish github release notes ' R: Publish GitHub Page'. Author: stoyanK7 #12169
- Resolve Pitest suppression for AccessModifierOption. Author: Shubh Srivastava #12326
- Resolve Pitest suppression for SeparatorWrapCheck. Author: Arin Modi #12430
- Re-enable sonar . Author: Nick Mancuso #12431
- Investigate why GITHUB token has no access to issues . Author: stoyanK7 #12182
- Update doc for MutableException. Author: Arin Modi #7613
- Update Test Configuration To Support Adding TreeWalker Property. Author: Arin Modi #12395
- Missing Link found on Checkstyle docs. Author: anchitbhuhan #12393
- Doc: archive release notes for 8.0-8.34. Author: Nick Mancuso
- Add release number validation. Author: stoyanK7 #12316
- Create instance of regexp check to enforce usage of 'fail-with-body' in curl commands. Author: rnveach #12389
- Action 'Bump version/Update Milestone' is failing to update milestones. Author: stoyanK7 #12351
- Specify violation messages in input files.. Author: Arin Modi, Shaman20 #11214
- 'R: Publish GitHub Page' failing at perform curl command but action status is succcess. Author: stoyanK7 #12181
- Debug documentation is not clear. Author: NitishKumar06 #12207
- Improper text in NewLineAtEndOfFileCheck documentation. Author: NitishKumar06 #12370
- Doc: expanded documentation on severities. Author: rnveach
- Resolve Pitest for Block Profile-2. Author: Kevin222004 #12330
New in Eclipse Checkstyle Plug-in 10.4 (Oct 30, 2022)
- Breaking backward compatibility:
- Checker.localeLanguage property work strange with system property user.language. Author: rnveach #12101
- Remove custom cache in Violation.java. It was extra cache for resource bundle cache for messages.. Author: rnveach #12102
- Bug fixes:
- False Positive: UnusedLocalVariableCheck. Author: Kirill Zuev #11920
- Notes:
- Overview Section is quite confusing. Author: NitishKumar06 #12228
- Move codenarc to non GitHub CI. Author: Vyom-Yadav #11747
- CI: validate PR number when commit is for PR. Author: Nick Mancuso #12319
- Create CI task to fail PR if merge commit exists. Author: Nick Mancuso #12259
- Checker-framework.groovy depends too much on name of repo. Author: Nick Mancuso #12311
- Resolve Switch case mutation for ParenPad. Author: Kevin222004 #12327
- Rename all 'Checker-Framework / checker-..' actions . Author: Roman Ivanov #12229
- Resolve Pitest suppression for ParenPad. Author: Kevin222004 #12282
- Resolve Pitest suppression for Javadoc profile. Author: Kevin222004 #12315
- Resolve Pitest suppression for misc profile. Author: Kevin222004 #12314
- Dependency: bump mockito-inline from 4.8.0 to 4.8.1. Author: Vyom-Yadav #12312
- UnusedImports doc: add limitation regarding same-name imports. Author: stoyanK7 #12224
- Update doc for EmptyLineSeparator. Author: shubh #7619
- Update verify-no-exception-configs validation. Author: rnveach #9984
- Pitest/Checker: Drop New/Unnecessary Displays And Switch to Git Diff. Author: Roman Ivanov #12243
- Add example of custom jars to Ant Documentation. Author: Navjyoth NA Thakur #5389
- Resolve Pitest suppression for block profile. Author: Kevin222004 #12296
- Resolve Pitest suppression for EmptyForInitializerPad-2. Author: Kevin222004 #12275
- Doc: Update SuppressionXpathSingleFilter example (related to #3095). Author: Piotr Findeisen
- Doc: remove teamcity badge but keep links in case we will restore it. Author: Roman Ivanov
- Create IDEA Inspections Docker image for CircleCI. Author: Nick Mancuso #12087
- Specify violation messages in input files.. Author: shubh #11214
- Resolve Pitest suppression for SeperatorWrapCheck. Author: Kevin222004 #12267
- Resolve Pitest suppression for EmptyForInitializerPadCheck. Author: Kevin222004 #12265
- Resolve Pitest suppression for MethodParamPadCheck . Author: Kevin222004 #12264
- Resolve Pitest suppression for OperatorWrapCheck. Author: Kevin222004 #12266
- Resolve Pitest suppression for AbstractParenPadCheck - 2. Author: Kevin222004 #12260
- Resolve Pitest suppression for EmptyForIteratorPadCheck. Author: Kevin222004 #12261
- Resolve Pitest suppression for AbstractParenPadCheck. Author: Kevin #12251
- Remove changes needed for PMD Accessor violations from Java 11 improvements. Author: rnveach #12241
- Minor word missing in checkstyle docs. Author: NitishKumar06 #12203
- Doc: fix formatting mistake. Author: stoyanK7
New in Eclipse Checkstyle Plug-in 10.3.4 (Sep 25, 2022)
- Bug fixes:
- ImportOrder: tokens property should be not customizable, move STATIC_IMPORT to required tokens Author: rnveach #12145
- IllegalInstantiation: make all tokens should be required, so no need to use custom values in tokens property. Author: rnveach #3955
- VariableDeclarationUsageDistance throws NPE on empty switch statements. Author: stoyanK7 #11973
- Notes:
- Expand ArchUnit Testing. Author: Vyom-Yadav #12099
- Enable Checker Framework. Author: Vyom-Yadav #12164
- pitest-survival-check-xml.groovy: ArrayIndexOutOfBoundsException. Author: Vyom-Yadav #12132
- Add method to ignore unstable checker framework violations. Author: Vyom-Yadav #12210
- Add badges for new GitHub actions. Author: Vyom-Yadav #12218
- Checkstyle should use `dependencyConvergence` maven-enforcer rule. Author: Nick Mancuso #12195
- failure to publish github release notes ' R: Publish GitHub Page'. Author: Roman Ivanov, Rahul Khinchi #12169
- Disable execution of GitHub actions with cron in fork repositories. Author: Rahul Khinchi #12175
- Use OS specific command and correct errorExtractingPattern. Author: Vyom-Yadav #12154
- updates in Github actions. Author: Rahul Khinchi #12165
- execution of 'R: Update github.io' with '10.3.3' faililng. Author: Rahul Khinchi #12160
- Disable test execution during release. Author: Roman Ivanov #11912
- no-error-pmd execution is failing if version in not changed to 10.4. Author: Roman Ivanov #12129
- doc: add 'I have read check documentation...' to feature_request.md. Author: Nick Mancuso
- pitest-survival-check-xml.groovy: IllegalArgumentException: character to be escaped is missing. Author: Vyom-Yadav #12133
- Github action "GitHub Milestone and Upload Jar" should do all github actionvities from release.sh. Author: Rahul Khinchi #12113
- Github Action "Update github.io". Author: Rahul Khinchi #12115
- update publish Twit action to use secrets. Author: Rahul Khinchi #12116
- Minor changes in in shell scripts. Author: Rahul Khinchi #12124
- Upgrade Maven required Version for Contributors. Author: rnveach #12111
- Github action "Release prepare" should validate presence of xml release notes. Author: Rahul Khinchi #12126
- rename update-sources.sh . Author: Rahul Khinchi #12120
New in Eclipse Checkstyle Plug-in 10.3.3 (Aug 28, 2022)
- Bug fixes:
- Translate messages to Russian. Author: zuev kirill #12039
- RequireThisCheck not able to handle try-with-resources. Author: stoyanK7 #11821
- Sarif support is not extended onto the Ant task defined. Author: jknair0 #11985
- InvalidJavadocPosition: false positive for the generic constructor without access modifier. Author: stoyanK7 #11605
New in Eclipse Checkstyle Plug-in 10.3.2 (Jul 31, 2022)
- Bug fixes:
- MissingJavadocType: Support qualified annotation names. Author: stoyanK7 #11736
- Update google_checks.xml to have the SuppressionCommentFilter and SuppressWarningsHolder modules in the config by default (and by extension, SuppressWarningsFilter). Author: Daniel del Castillo #11655
- Notes:
- Update releasenotes to use GitHub Pages execution. Author: Rahul Khinchi #12010
- Allow SuppressWarningHolder to suppress the violation with NameCheck. Author: stoyanK7 #11885
- Pitest: Kill all surviving mutations. Author: Vyom-Yadav, Nick Mancuso #11720
- Pitest: Activate "ALL" mutator group. Author: Vyom-Yadav #11719
- Use Shellcheck to resolve violations code in Shell Script. Author: stoyanK7 #11637
- pitest: increase mutation coverage for pitest-imports profile to 100% . Author: Vyom-Yadav #6658
- Update GitHub Action for bump-license-year.sh. Author: Rahulkhinchi03 #11970
- Solve fb-contrib errors. Author: pbludov, stoyanK7 #11140
- Remove pitest mutation checking HTML model. Author: Vyom-Yadav #11904
- automate execution by Github action bump-license-year.sh on first day of month. Author: Rahul Khinchi #11744
- update code base to have javadoc tag to explain noinspection tag content. Author: Nick Mancuso #11277
- doc: put example of enableExternalDtdLoad to xdoc. Author: Roman Ivanov
- update doc for SuppressWarningsHolder. Author: Kevin222004 #7576
- releasenotes script generated empty commit. Author: Rahulkhinchi03 #11782
- Include CDG Accelerator Plugin to boost pitest performance. Author: Vyom-Yadav #11727
- Enforce file size on Java inputs. Author: stoyanK7 #11163
- Expand XPath IT Regression Testing. Author: stoyanK7 #6207
- There are semantic problems in the Chinese error message of keyword 'design.forExtension' .. Author: ssquan #11649
- prepare-settings.sh fails to create settings.xml. Author: Rahulkhinchi03 #11783
- Use groovy version provided by `apt` in pitest.yml. Author: Vyom-Yadav #11823
- tweet-releasenotes.sh does not check env variables. Author: Roman Ivanov #11784
- download of m2 cache from sourceforge.io is slow. Author: Roman Ivanov #11817
- infra: turns off create dependency reduced pom for shade plugin. Author: rnveach #11806
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: stoyanK7 #11446
- Specify violation messages in input files.. Author: stoyanK7 #11214
- pitest: increase mutation coverage for javadoc profile to 100%. Author: Vyom-Yadav #6295
New in Eclipse Checkstyle Plug-in 10.3.1 (Jun 27, 2022)
- Bug fixes:
- FallThrough should recognize yield also
- FinalClassCheck: False positive with anonymous classes.
- Notes:
- automate creation of settings.xml file for release
- Automate update of releasenotes.xml by content for new release
- Automate twitter posts to use single shell command
- Resolve Pitest Issues.
- dependency: bump pitest-maven from 1.8.1 to 1.9.0
- Disable IDEA Inspection for `AnnotationClass`
- Update doc for LeftCurly
- Missed limitation: Checkstyle can't parse UTF8 Java File with UTF8 BOM
- Specify violation messages in input files.
- Resolve IDEA violations from Teamcity 2022.04 (Bundled IntelliJ IDEA 2021.2.3)
- Pitest: Create robust method of surviving mutation suppression
- update code base to have javadoc tag to explain noinspection tag content
- Update doc for TrailingComment
- Add codenarc to CI for groovy files
- Move Backport section on index page to be update JRE_and_JDK
- .ci/pitest.sh --list doesn't show all pitest profiles. Author: Vyom-Yadav #11730
- Split pitest-coding execution into 3 executions and investigate instability
- Use Shellcheck to resolve violations code in Shell Script
- Add 'git diff' validation after execution of verify phase to Azure
- Solve fb-contrib errors.
- Checkstyle doesn't publish test source code
New in Eclipse Checkstyle Plug-in 10.3 (May 30, 2022)
- New:
- WhitespaceAfter should support LITERAL_CASE token.
- WhitespaceAfter should support LITERAL_YIELD token.
- Bug fixes:
- SuppressionXpathSingleFilter suppresses all violations when used with the default configuration.
- SuppressWarnings: support not working on local variables.
New in Eclipse Checkstyle Plug-in 10.2 (Apr 25, 2022)
- New:
- Add new AbstractCheck#getFilePath method in api. Author: Andrei Paikin #11507
- WhitespaceAfter should support LITERAL_RETURN token. Author: Rahul Khinchi #11536
- WhitespaceAfter should support LITERAL_SYNCHRONIZED token. Author: Kevin222004 #11494
- WhitespaceAfter should support LITERAL_CATCH token. Author: Binita Kumari #11498
- WhitespaceAfter should support LITERAL_FINALLY token. Author: Rahul Khinchi #11493
- WhitespaceAfter should support LITERAL_TRY token. Author: Rahul Khinchi #11489
- Bug fixes:
- GUI can not find node by simple xpath. Author: Nick Mancuso #9004
- Notes:
- Test inputs should be completely standalone.. Author: pbludov #4845
- Split pitest-coding execution into two executions and investigate instability. Author: Vyom-Yadav #11528
- Solve fb-contrib errors. Author: rnveach #11140
- Specify violation messages in input files. Author: ricardovogel, SarveshLimaye, Binita Kumari, Kaung Myat Htet, Abhinav, Kevin222004 #11214
- Minor: remove testLocaleIsSupported tests. Author: pbludov #11544
- Update doc for MethodLength. Author: Kaung Myat Htet #11474
- Update Xpath unit tests to have at least two test methods. Author: Rahul Khinchi #8151
- Expand XPath IT Regression Testing. Author: Kevin222004, Abhinav #6207
- 'checkstyle_checks.xml' should not allow single letter variable names in for loops. Author: Nick Mancuso #11522
- Minor: move xml-maven-plugin to config directory outside of ci. Author: rnveach #11530
- Large overhead from using streams in TokenUtil.isOfType. Author: Sander Gielisse #11370
- Doc: Improve grammar in writingchecks.xml. Author: Otto Kaaij
- AbbreviationAsWordInName documentation need to extended. Author: MUzairS15 #10889
- Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Rahul Khinchi #11446
- Unit tests for Checkstyle GUI components. Author: pbludov #11475
- Check no closed issue references workflow is not triggered on pull requests. Author: Vyom-Yadav #11442
- Enforce file size on Java inputs. Author: Rahul Khinchi #11163
- Fix existing cases of 'getFileContents()' usage. Author: Andrei Paikin #11166
New in Eclipse Checkstyle Plug-in 10.1 (Mar 27, 2022)
- Breaking backward compatibility:
- LineLengthCheck ignores length of import and package statements. Author: Vyom-Yadav #10907
- New:
- RedundantModifier should include RECORD_DEF in acceptable tokens. Author: Vyom-Yadav #11259
- Bug fixes:
- All checks that use 'AbstractCheck#getLine()' should check code points instead of characters for spacing. Author: MUzairS15 #10924
- False positive: SummaryJavadocCheck. Author: Vyom-Yadav #11213
- Inline @return tag does not pass SummaryJavadocCheck. Author: Octavia Togami #10776
- UnnecessaryParentheses reports incorrect violation message for return value in lambdas. Author: Otto Kaaij #11357
- Enhance logging approach of SummaryJavadocCheck and use AST-based approach to get content of inline tag. Author: Vyom-Yadav #11030
- Notes:
- Expand XPath IT Regression Testing. Author: Binita Kumari, Kevin222004, Rahul Khinchi #6207
- Update Tests to use new verify method that use inlined config in Input files. Author: Kevin222004, Nick Mancuso #11446
- Conver test for SuppressionXpathSingleFilterTest to use inlined config in Input files. Author: Vyom-Yadav #11439
- Conver test for SuppressionXpathFilterTest to use inlined config in Input files. Author: Vyom-Yadav #11438
- Specify violation messages in input files. Author: FaraazB, AmrDeveloper, Kevin222004, Rahul Khinchi #11214
- Update doc for MultipleStringLiterals. Author: ExApricity #7650
- Move methods common in UnusedLocalVariableCheck and FinalClassCheck to util. Author: Vyom-Yadav #11201
- Remove suppressions for original verify method or explain in comment. Author: Roman Ivanov #10390
- Migrate to Inline Config Parser for filters. Author: Vyom-Yadav #10737
- Test inputs should be completely standalone. Author: rnveach #4845
- Spelling: Fix double word in TreeWalker. Author: Ricardo Vogel
- Checkstyle should force logging of AST in checks that require it. Author: Nick Mancuso #10933
- Refactor check for override annotation - add util method. Author: Andrei Paikin #11333
- Fix existing cases of 'getFileContents()' usage. Author: Andrei Paikin #11166
- JavadocMetadataScraper fails silently if it can't write the XML files. Author: Vyom-Yadav #10747
- AvoidStarImport: update documentation with example for mix of properties. Author: AmrDeveloper #11352
- Doc: mention that excludes can be class names. Author: Tobias Nießen
New in Eclipse Checkstyle Plug-in 10.0 (Feb 28, 2022)
- Breaking backward compatibility:
- upgrade minimal required jdk version to 11. Author: rnveach, pbludov #9146
- New:
- WhitespaceAfter does not work on 'switch' and lambda statements. Author: Vyom-Yadav #11298
- WhitespaceAfter should support `ELLIPSIS` token. Author: Vyom-Yadav #11116
- Bug fixes:
- FinalClass should exempt private-only constructor classes that are extended by another class in the same compilation unit. Author: pbludov #10859
- False Negative: RedundantModifierCheck. Author: Vyom-Yadav #11268
- EmptyLineSeparator: false negative in Enum and interface fields. Author: Andrei Paikin #11241
- NPE in gui.MainFrameModel#getLastDirectory. Author: pbludov #11294
- Notes:
- Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach #6320
- Update doc for FinalParameters. Author: Taniya #7588
- Expand XPath IT Regression Testing. Author: Binita Kumari #6207
- Replace usages of deprecated method AccessibleObject.isAccessible. Author: Nick Mancuso #11309
- Update doc for ReturnCount. Author: Binita Kumari #7657
- Add icon to the GUI window. Author: pbludov #11292
- Add 'since' property to '@Deprecated' annotation. Author: pbludov #11289
- doc: update requirements to jdk 11. Author: pbludov
- remove extra checkstyle build in no-exception-test.sh. Author: Vyom-Yadav #11281
New in Eclipse Checkstyle Plug-in 9.3 (Jan 30, 2022)
- New:
- Support patterns in switch (preview-feature in Java 17) as described by JEP 406. Author: nmancus1 #10848
- New Check: UnusedVariable. Author: Vyom-Yadav #7504
- Bug fixes:
- OutOfMemory following CheckStyle 9.X upgrade. Author: nmancus1 #10934
- False positive in `MissingSwitchDefault` with pattern in switch label. Author: Nick Mancuso #11220
- `OperatorWrapCheck` throws NPE on guarded patterns. Author: Nick Mancuso #11187
- UnnecessaryParentheses: false negative. Author: Vyom-Yadav #11061
- All checks that use `AbstractCheck#getLine()` should check code points instead of characters for spacing. Author: MUzairS15 #10924
- Stackoverflow error on deeply concatenated strings. Author: Timur Tibeyev #9267
- StringLiteralEquality FN about String literal expression. Author: Vyom-Yadav #11031
- Notes:
- Fail test execution if Input file does nor have message on violation line and Check has not signle message. Author: Vyom-Yadav #11091
- Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach, Vyom-Yadav #6320
- Run regression testing in CI over openjdk17. Author: nmancus1 #11185
- Let 'site' Github action to generate javadoc. Author: nmancus1 #11228
- Improve Japanese message translation. Author: SATO Yusuke #11200
- add file filters for non-compilable files in openjdk16. Author: Vyom-Yadav #11215
- Update `bump-license-year.sh` to use `g4` file extension.. Author: nmancus1 #11203
- Replace System.exit with Runtime.exit. Author: pbludov #11172
- Solve fb-contrib errors. Author: rnveach #11140
- Add github action to bump year in license. Author: Vyom-Yadav #11194
- Enforce file size on Java inputs. Author: Vyom-Yadav #11163
- Prevent usage of 'getFileContents()' method in code. Author: haanhvu #9889
- Infra: migrate to Truth in tests. Author: rnveach, Roman Ivanov #9142
- Update existing Input files to follow 100 line limit . Author: Abhinav Rajput #10625
- Resolve Reflection Suppressions and Import Control. Author: rnveach #11113
- Add sb-contrib plugin to spotbugs configuration. Author: pbludov #11120
- Refactor XdocsPagesTest to use some annotation to specify the property type. Author: pbludov #10744
- Replace assertions guarded by 'if' with assumeXXX methods in tests. Author: pbludov #11131
- Remove checkConstructorIsPrivate from TestUtil#isUtilsClassHasPrivateConstructor. Author: pbludov #11107
New in Eclipse Checkstyle Plug-in 9.2.1 (Dec 29, 2021)
- Bug fixes:
- SimplifyBooleanExpression: A false negative about ternary operator. Author: Vyom-Yadav #11015
- ParameterAssignment does not detect problem for Lambda parameters. Author: Vyom-Yadav #11038
- NPE in IllegalTypeCheck when checking a record (Java 14). Author: Rahul Khinchi #10817
- Version 9.x Reports Whitespace Before Paren After String with Emojis. Author: nmancus1 #11001
- TrailingCommentsCheck ignores first comment character. Author: nmancus1 #10997
- Notes:
- Update existing Input files to follow 100 line limit . Author: Abhinav Rajput #10625
- doc: extend beginning development with step to build in terminal before IDE. Author: Roman Ivanov
- Infra: migrate to Truth in tests. Author: rnveach, Roman Ivanov #9142
- adds section for list of supported JREs. Author: rnveach #10891
- Rebase Github action is failing due to missed permission. Author: Roman Ivanov #11052
- Setup JDK17 build. Author: pbludov #10905
- Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737
- Make powermock tests compatible with JDK17+. Author: rnveach #7368
- Remove `illegal-access=warn` workaround for JDK16. Author: nmancus1 #11067
- Update Xpath unit tests to have at least two test methods. Author: rnveach #8151
- Pitest2 job fails when image is upgraded to ubuntu-2004:202010-01. Author: rnveach #9351
- RightCurlyCheck.isBlockAloneOnSingleLine might throw NPE . Author: rnveach #11054
- Remove dependency on Powermock from tests. Author: pbludov #10932
- Fix links to maven web site - maven.apache.org. Author: Aditya Vishwakkarma, Roman Ivanov #11003
- update doc for RedundantImport. Author: Binita Kumari #7688
- Group Shell Scripts by Activity and not CI. Author: Roman Ivanov #11029
- All scripts in Travis should be single line to return exit code to Travis. Author: Roman Ivanov #11027
- create example of AST for TokenTypes.ELIST. Author: Binita Kumari #9420
- Add support for violation N lines above/below in Inline Config Parser. Author: Vyom-Yadav #10752
- update example of AST for TokenTypes.INSTANCE_INIT. Author: Abhinav Rajput #9455
- update example of AST for TokenTypes.ANNOTATION. Author: Abhinav Rajput #9387
- create example of AST for TokenTypes.EMPTY_STAT. Author: Binita Kumari #9422
- update example of AST for TokenTypes.BLOCK_COMMENT_END. Author: Abhinav Rajput #9400
New in Eclipse Checkstyle Plug-in 9.2 (Nov 28, 2021)
- Breaking backward compatibility:
- Record inside interface is treated as method. Author: nmancus1 #10978
- Bug fixes:
- OperatorWrap with token ASSIGN too strict for annotations. Author: Andrei Paikin #10945
- NPE in EqualsAvoidNull check when accessing string from base class with 'this' qualifier. Author: Andrei Paikin #10962
- ClassFanOutComplexity fails to count all classes in multicatch and implements clause. Author: Andrei Paikin #10144
- Version 9.x reports NoWhitespaceBefore error on semicolon or comma after string with emoji. Author: nmancus1 #10920
- JavadocMethod accessModifiers incorrectly interpreted for interface class. Author: Vyom-Yadav #10835
- Notes:
- Update example of AST for TokenTypes.CTOR_CALL. Author: Abhinav Rajput #9412
- Update example of AST for TokenTypes.IDENT. Author: Binita Kumari #9450
- Message validation in our Inputs should not have trailing and leading '.*'. Author: Vyom-Yadav #10943
- Update example of AST for TokenTypes.LITERAL_BOOLEAN. Author: Venkatesh-24 #9463
- Update example of AST for TokenTypes.LITERAL_BREAK. Author: Abhinav Rajput #9464
- Checkstyle's special system properties about localisation does not work. Author: Andrei Paikin #9072
- Add example of AST for TokenTypes.ANNOTATION_MEMBER_VALUE_PAIR. Author: Abhinav Rajput #9372
- Create example of AST for TokenTypes.ELLIPSIS. Author: MUzairS15 #9421
- Travis - arch ppc64le: execution of some unexpected command. Author: Roman Ivanov #10959
- Update example of AST for TokenTypes.LITERAL_NATIVE. Author: Abhinav Rajput #9485
- Travis Build Failures: not enough credits. Author: Roman Ivanov #10778
- MetadataGeneratorUtil should take the module folders as inputs. Author: MUzairS15 #10749
- Inline Config Parser throws complex exception without config in input file. Author: Shashwat Jaiswal #10764
- Update example of AST for TokenTypes.PARAMETERS. Author: Venkatesh-24 #9551
- Update example of AST for TokenTypes.LAMBDA. Author: Rahul Khinchi #9458
- Make powermock tests compatible with JDK17+. Author: pbludov #7368
- Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737
- Remove curly braces usage for javadoc tags in translations. Author: Vyom-Yadav #10910
- Doc: new translations for various properties by crowdin. Author: rnveach
- Doc: new translations for various properties. Author: rnveach
New in Eclipse Checkstyle Plug-in 9.1 (Oct 31, 2021)
- Breaking backward compatibility:
- Change type "Regular Expression" to "Pattern" in docs. Author: pbludov #10842
- Bug fixes:
- False positive for switch expressions in MissingSwitchDefault. Author: Hyeonmin Park #10866
- UnusedImports error if there are only array references to a given class. Author: Andrei Paikin #10855
- StackOverflow Error in IndentationCheck on deeply concatenated strings. Author: Vyom-Yadav #10810
- RedundantModifierCheck only reports first instance of redundant modifier. Author: Akash Mondal #10806
- WhitespaceAround misrecognizes white spaces after emojis. Author: nmancus1 #10837
- Notes:
- Create example of AST for TokenTypes.DOUBLE_COLON. Author: Rahul Khinchi #9419
- Doc: fix broken scm manager install link. Author: Anirvan Sarkar
- Make violations diff readable. Author: pbludov #10872
- Update org.reflections:reflections dependency to new version 0.10.X. Author: Vyom-Yadav #10901
- JavadocMetadataScraper fails silently if it can't write the XML files. Author: Vyom-Yadav #10747
- Create example of AST for TokenTypes.ENUM. Author: Ayushman Sachan #9423
- Update example of AST for TokenTypes.GENERIC_START. Author: Ayushman Sachan #9448
- Update example of AST for TokenTypes.GENERIC_END. Author: Ayushman Sachan #9447
- Update example of AST for TokenTypes.ENUM_DEF. Author: Rahul Khinchi #9425
- Update example of AST for TokenTypes.GE. Author: Rahul Khinchi #9446
- Update example of AST for TokenTypes.LITERAL_THROW. Author: Ayushman Sachan #9499
- Fix PMD violation CognitiveComplexity. Author: Vyom-Yadav #10064
- Update example of AST for TokenTypes.LITERAL_ASSERT. Author: Rahul Khinchi #9462
- Update example of AST for TokenTypes.ENUM_CONSTANT_DEF. Author: Rahul Khinchi #9424
- Add maven modernizer plugin. Author: Andrei Paikin #10760
- Fix sarif validation schema link and no-validations profile. Author: Andrei Paikin #10863
- UT output should be silent. Author: Amar Prakash Pandey #10844
- Update example of AST for TokenTypes.SUPER_CTOR_CALL. Author: Shubhojeet Banerjee #9579
- Spelling: fix mistypes in SuppressWithNearbyCommentFilter. Author: pbludov
- Investigate localization service crowdin.com. Author: Andrei Paikin #6191
New in Eclipse Checkstyle Plug-in 9.0.1 (Oct 3, 2021)
- Bug fixes:
- Fix up messages - mojibake, lone apostrophes and accidental apostrophes substitutes. Author: Victor Williams Stafusa da Silva #10828
- Notes:
- Add example of AST for TokenTypes.AT. Author: vinayak-gaikwad #9396
- Add links to projects with additional checkstyle checks to site. Author: Andrei Paikin #10057
- JavadocMetadataScrapperTest and InlineConfigParser fixes. Author: rnveach #10827
- XmlMetaReader fails if package given to it has no expected resource files listed. Author: rnveach #10773
- Expand XPath IT Regression Testing. Author: Joshua Kuan, kthirano #6207
- Javadoc everything. Author: pbludov #10818
- The build shoul fail on Javadoc linter warnings. Author: pbludov #10815 minor: fix drone build by excluding archives from line length check. Author: Roman Ivanov #10800
- Provide javadocs for Support clases in tests. Author: Devansu-Yadav #6336
- Doc: splits up the release notes more and moves off older items. Author: rnveach
- Config: bump spotbugs to new version. Author: pbludov #10781
- Travis Build Failures. Author: rnveach #10778
- Use cache for maven dependencies to speed up drone io builds. Author: Vadym #10065
- JavadocMetadataScraper doesn't identify "CheckstyleTestMakeupCheck" name correctly. Author: Vyom-Yadav #10756
- Update Doc of CommentIndentation. Author: Abhinav #9935
- Survived line in pitest.sh pitest-java-ast-visitor. Author: Nick Mancuso #10755
- Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737
New in Eclipse Checkstyle Plug-in 9.0 (Aug 31, 2021)
- Breaking backward compatibility:
- Add COMPILATION_UNIT token in Ast Tree, remove EOF token. Author: Nick Mancuso #3095
- Upgrade Java Grammar from ANTLR2 to ANTLR4. Author: Nick Mancuso #10272
- Bug fixes:
- Checkstyle fails with unusual annotations. Author: Nick Mancuso #8652
- annotation array initialization indentation issue. Author: Abhishek-kumar09 #10020
- Checkstyle fails on nested type parameters. Author: Nick Mancuso #8945
- Notes:
- Refactor Inline Parsing and add support for inputs with multiple modules. Author: Shashwat Jaiswal #10745
- Add ability to suppress forbidden API by annotation. Author: Roman Ivanov #10751
- Migrate to Inline Config Parser for tests using MemberNameCheck. Author: Shashwat Jaiswal #10736
- Inlined config for Filters Inputs. Author: Shashwat Jaiswal #10653
- Migrate to new verify method for inlined configs . Author: Shashwat Jaiswal #10390
- Add support for file path in Inline Config Parser. Author: Shashwat Jaiswal #10725
- Migrate to Inline Config Parser in Regexp Check Tests. Author: Shashwat Jaiswal #10720
- Migrate to Inline Config Parser in Whitespace Check Tests. Author: Shashwat Jaiswal #10689
- Migrate to Inline Config Parser in Miscellaneous Check Tests. Author: Shashwat Jaiswal #10693
- Migrate to Inline Config Parser in Javadoc Check Tests. Author: Shashwat Jaiswal #10692
- Migrate to Inline Config Parser in Coding Check Tests. Author: Shashwat Jaiswal #10548
- Unit tests that involve `StackOverflow` should use limited stack size. Author: Nick Mancuso #10605
- Migrate to Inline Config Parser in Sizes Check Tests. Author: Shashwat Jaiswal #10676
- Github actions for pitest does not safe artifacts in master builds for all executions. Author: AkMo3 #10684
- Migrate to Inline Config Parser in Naming Check Tests. Author: Shashwat Jaiswal #10688
- Migrate to Inline Config Parser in Imports Check Tests. Author: Shashwat Jaiswal #10671
- Migrate to Inline Config Parser in Modifier Check Tests. Author: Shashwat Jaiswal #10675
- Migrate to Inline Config Parser in Block Check Tests. Author: Shashwat Jaiswal #10659
- Migrate to Inline Config Parser in Metric Check Tests. Author: Shashwat Jaiswal #10672
- Migrate to Inline Config Parser in Design Check Tests. Author: Shashwat Jaiswal #10667
- Add support for multiple violations on adjacent lines in Input Parser. Author: Shashwat Jaiswal #10665
- Permanent suppression section at checkstyle_input_suppressions.xml. Author: Shashwat Jaiswal #10652
- Migrate to Inline Config Parser in Annotation Check Tests. Author: Shashwat Jaiswal #10649
- Add support for messages in inlined config. Author: Shashwat Jaiswal #10545
- doc: update jooq link. Author: Nick Mancuso
- How to define null in inlined config. Author: Shashwat Jaiswal #10527
- doc: fix writingchecks.xml docs. Author: Nick Mancuso
- Add support for multiple violations on same line in Input Parser. Author: Shashwat Jaiswal #10190
- Some Inputs can not have comment on line with violation. Author: Shashwat Jaiswal #10378
- Enforce line limit 100 on all Input files.. Author: Shashwat Jaiswal #10624
- support non-ASCII characters in identifiers. Author: Nick Mancuso #8050
- Checkstyle freezes on deeply nested lambdas. Author: Nick Mancuso #8291
- Checkstyle fails to parse local enum and interface declarations. Author: Nick Mancuso #10464
- Checkstyle fails to parse local record with `final` modifier. Author: Nick Mancuso #10516
- Checkstyle fails to parse single comma in annotation array initialization. Author: Nick Mancuso #10515
- Checkstyle fails to parse qualified constructor parameter. Author: Nick Mancuso #10424
- Consider moving pitest from CircleCI to another CI. Author: AkMo3 #10188
- doc: fix broken scm manager install link. Author: Nick Mancuso
- Migrate to Inline Config Parser in Tests. Author: Shashwat Jaiswal #10548
New in Eclipse Checkstyle Plug-in 8.45.1 (Aug 8, 2021)
- Bug fixes:
- MissingJavadocMethod misses inner classes of interfaces. Author: pbludov #9876
- Indentation: Java14 switch expressions[JEP-361] fails indentation checks when lineWrappingIndentation property of Indentation module is a non-default value. Author: Vadym #8929
- Notes:
- Migrate to Inline Config Parser in Tests. Author: Shashwat Jaiswal #10548
- Refactor input files in check tests. 39 Check tests were updated. Author: Shashwat Jaiswal #10080
- Upgrade appveyor to 3.8.1 maven and use option to now show download process. Author: AkMo3 #10513
- JavadocTagContinuationIndentation does not check text inside HTML elements. Author: Shashwat Jaiswal #9315
- Run regression testing in CI over openjdk16. Author: Nick Mancuso #10431
- Violate original verify method and suppress errors. Author: Roman Ivanov #10391
- Update example of AST for TokenTypes.LCURLY. Author: Hreshi #9460
- Update example of AST for TokenTypes.COMMENT_CONTENT. Author: vinayak-gaikwad #9411
- Update example of AST for TokenTypes.LITERAL_CASE. Author: vinayak-gaikwad #9466
- Update example of AST for TokenTypes.LITERAL_YIELD. Author: Shubhojeet Banerjee #9507
New in Eclipse Checkstyle Plug-in 8.45 (Jul 31, 2021)
- Breaking backward compatibility:
- Incorrect catch parameter line/ column number reported. Author: Nick Mancuso #10134
- Inconsistent `TYPE_ARGUMENT` AST. Author: Nick Mancuso #10121
- New:
- New Check: NoWhitespaceBeforeCaseDefaultColon. Author: Akash Mondal #8186
- Bug fixes:
- MatchXpath: should support comments. Author: AkMo3 #10107
- Javadoc parser/grammar doesn't report the correct lines in Javadoc AST. Author: Nick Mancuso #10208
- Violations from TrailingComment should possible to suppress by xpath by content of comment. Author: AkMo3 #9009
- ArrayTypeStyle false positives in nested generics. Author: Nick Mancuso #10215
- Notes:
- Refactor input files in check tests. 102 Check tests were updated. Author: Shashwat Jaiswal #10080
- Add Configuration.getPropertyNames and Configuration.getProperty and deprecate getAttributeNames getAttribute methods. Author: Shashwat Jaiswal #10164
- Create example of AST for TokenTypes.COLON. Author: vinayak-gaikwad #9409
- Loggers should use class for printing to output that does only localization. Author: AkMo3 #9794
- Resolve Pitest Issues - AbstractJavadocCheck. Author: Shashwat Jaiswal #10126
- Doc: add example to ImportOrder about other groups. Author: Ritik2604 #5982
- Google test uses check input for OneStatementPerLineTest. Author: Shashwat Jaiswal #10277
- Add support for violation message. Author: Shashwat Jaiswal #10079
- Move all "No Error" execution from wercker.yml to travis.yml. Author: Nick Mancuso #10178
- Parse and extract violations. Author: Shashwat Jaiswal #10078
New in Eclipse Checkstyle Plug-in 8.44 (Jun 27, 2021)
- Breaking backward compatibility:
- Java Grammar: improper method def line and column position for methods with ARRAY_DECLARATOR. Author: Nick Mancuso #3145
- Bug fixes:
- AvoidEscapedUnicodeCharacters should support trailing '' escape symbol. Author: Shashwat Jaiswal #9143
- Extract parameter type from nested array declarator brackets. Author: Nick Mancuso #10100
- AtclauseOrder: Falsely ignores method with annotation. Author: Vyom-Yadav #9941
- False Positive Comments Indentaion method end, multiline comments. Author: Soumyadeep Ganguly #9105
- Notes:
- Infra: migrate to Truth in tests. Author: Shashwat Jaiswal #9142
- Update inputs for AnnotationLocationCheckTest. Author: Shashwat Jaiswal #10174
- Update inputs for ArrayTypeStyleCheckTest. Author: Shashwat Jaiswal #10175
- Parse and extract check properties from input file. Author: Shashwat Jaiswal #10141
- Update inputs for NeedBracesCheckTest. Author: Shashwat Jaiswal #10160
- Support line wrap for config values in input files. Author: Shashwat Jaiswal #10163
- Update inputs for AvoidNestedBlocksCheckTest. Author: Shashwat Jaiswal #10155
- Update inputs for ParameterNameCheckTest . Author: Shashwat Jaiswal #10145
- Update inputs for MissingJavadocMethodCheckTest. Author: Shashwat Jaiswal #10147
- Update inputs for IllegalImportCheckTest. Author: Shashwat Jaiswal #10148
- Semaphore: Invalid or corrupt jarfile .m2/repository/R-4.17-202009021800/ecj-4.17.jar. Author: Roman Ivanov #10138
- Cover it folder by import control. Author: Shashwat Jaiswal #10074
- spelling: fix mistype in wercker.sh. Author: pbludov
- Parse and extract check name and check properties from input file. Author: Shashwat Jaiswal #10077
- Update inputs for AnnotationUseStyleCheckTest. Author: Shashwat Jaiswal #10112
- Update inputs for PackageAnnotationCheckTest. Author: Shashwat Jaiswal #10114
- Update inputs for MissingDeprecatedCheckTest. Author: Shashwat Jaiswal #10113
- update ArrayTypeStyleCheckTest to use unique Input file in each test method. Author: haanhvu #9880
- update example of AST for TokenTypes.TEXT_BLOCK_LITERAL_BEGIN. Author: [email protected] #9582
- update example of AST for TokenTypes.CASE_GROUP. Author: [email protected] #9406
- update example of AST for TokenTypes.LITERAL_BYTE. Author: hreshi #9465
- Update inputs for AnnotationOnSameLineCheckTest. Author: Shashwat Jaiswal #10083
- Resolve Pitest Issues - pitest-imports (1). Author: Shashwat Jaiswal #10072
- Update inputs for MissingOverrideCheckTest. Author: Shashwat Jaiswal #10082
- update example of AST for TokenTypes.ANNOTATION_FIELD_DEF. Author: [email protected] #9392
- Refactor check for config comment in inputs. Author: Shashwat Jaiswal #10094
- update IllegalTypeCheckTest to use unique input file for each test method. Author: Devansu-Yadav #9921
- Restrict usage of org.junit.jupiter.api.Assertions package in tests. Author: Shashwat Jaiswal #10051
- Replace ANTLR2 dependencies in unit test inputs. Author: Nick Mancuso #10059
New in Eclipse Checkstyle Plug-in 8.43 (May 30, 2021)
- New:
- Add support summary Javadoc tag in SummaryJavadoc. Author: AkMo3 #7202
- Add SARIF as a supported output format. Author: Chao Zhang #8905
- Bug fixes:
- UnnecessaryParentheses false positives in 8.42. Author: Vyom-Yadav #9957
- Unresolvable indentation violation for method definition parenthesis. Author: Soumyadeep Ganguly #9269
- JDK16: final after instanceof. Author: Nick Mancuso #9897
New in Eclipse Checkstyle Plug-in 8.41 (Feb 28, 2021)
- New:
- Checkstyle should support "classpath:" protocol. Author: Nick Mancuso #9170
- Bug fixes:
- ImportOrder and CustomImportOrder report only first "Extra separation" violation, inconsistent order. Author: rnveach #9251
- Record implementing interfaces, indentation faulty. Author: Nick Mancuso #9152
- JavadocTagContinuationIndentation: no violation with block tag starting the line. Author: wltan #5711
- Correct NoEnumTrailingCheck and UnnessaryEnumSemicolonCheck to handle empty enums. Author: Andrei Paikin #9230
- Regression in IndentationCheck 8.40 regarding the white spaces needed in a second line of a try/resource declaration. Author: Abhishek-kumar09 #9236
- Checkstyle fails on empty enum with only comma in it. Author: Andrei Paikin #8653
- SuppressWarningsHolder fails on @SuppressWarnings in annotation array initialization. Author: Andrei Paikin #9260
- Record definition elements "record component list" and "implements clause" out of order in AST. Author: Nick Mancuso #9221
- Notes:
- Create parser util class that will host util methods for parser that creates AST. Author: Nick Mancuso #9272
- Update doc for ParameterAssignment. Author: AkMo3 #7655
- Resolve Pitest Issues - RegexpHeader. Author: Aryaniiit002 #9317
- Resolve Pitest Issues - HeaderCheck (1). Author: Aryaniiit002 #9304
- test inputs should be compilable with javac11. Author: pbludov #9310
- Resolve Pitest Issues - ImportOrderCheck (6). Author: Ayushman Sachan #7877
- Solve Spotbugs violations reported for Java 11. Author: pbludov #9297
- doc: fix checkstyle jar version in issue templates. Author: Andrei Paikin
- Extend closed issues job to check issues in other repos. Author: Andrei Paikin #9298
- Disable markdownlint rule MD041. Author: pbludov #9292
- Add one more closed to do issue pattern and fix violations. Author: Andrei Paikin #9276
- update doc for AvoidEscapedUnicodeCharacters. Author: Vyom-Yadav #9131
- Update doc for UniqueProperties. Author: Divesh2201 #7595
- Update doc for NeedBraces. Author: Vyom Yadav #7583
- update CircleCi to try one more time execution of mvn dependency:go-offline. Author: Roman Ivanov #9115
- update doc for CustomImportOrder. Author: Soumyadeep Ganguly #7686
- Update doc for RequireThis. Author: Ayushman Sachan #7656
- Add job to scan sources for closed issue references. Author: Andrei Paikin #9256
- update doc for RegexpMultiline. Author: stryder2000 #7695
- Update doc for HiddenField. Author: Aryaniiit002 #7641
- IllegalType: update examples to show how to target Check to fields only. Author: Aryaniiit002 #8930
- Resolve Pitest Issues - ImportOrderCheck (7). Author: Aryaniiit002 #7878
- Build also xwiki-rendering and xwiki-platform in the no regression travis job. Author: Thomas Mortagne #9242
- Minimize the stack size used for unit tests. Author: pbludov #9163
- diff report generation should have default projects file. Author: Andrei Paikin #9255
- doc: remove outdated limitation from google style doc. Author: Andrei Paikin
- Improve metadata code and coverage. Author: Andrei Paikin #9231
- Update doc for DeclarationOrder. Author: Ayushman Sachan #7635
- documentation of VariableDeclarationUsageDistance has stange note of default distance. Author: Ayushman Sachan #9219
- Update doc for IllegalInstantiation. Author: Himanshu Rijal #7643
- Sonar Dashboard link doesn't work in Generated Reports. Author: Akash Mondal #9217
- Checkstyle should support property expansion within property definitions (property chaining). Author: Nick Mancuso #9173
New in Eclipse Checkstyle Plug-in 8.40 (Jan 31, 2021)
- New:
- Create new check RecordComponentName. Author: Andrei Paikin #8765
- DesignForExtension: Special comment. Author: Nick Mancuso #4358
- AvoidEscapedUnicodeCharacters should support 's' escape symbol. Author: Nick Mancuso #9133
- Bug fixes:
- Metadata generation fails on line wrapped type description. Author: Andrei Paikin #9204
- Exception message for invalid token is unclear . Author: Andrei Paikin #8932
- Indentation check gives false positive: 'array initialization rcurly' has incorrect indentation. Author: Abhishek-kumar09 #8979
- UnusedImports doesn't recognize imports shadowed by inner interfaces. Author: pbludov #4219
- Unresolvable 'new' Indentation Rule conflict introduced in 8.38. Author: Abhishek-kumar09 #9071
- ForceStrictCondition should not affect individual array elements.. Author: Abhishek-kumar09 #9086
- AvoidEscapedUnicodeCharactersCheck: False positive on text blocks with a line separation. Author: Nick Mancuso #9159
- Notes:
- doc: udpate BeforeExecutionExclusionFileFilter to show example of negative lookahead. Author: Roman Ivanov
- fix TOKEN_TEXT_PATTERN in JavadocMetadataScraper. Author: Roman Ivanov #9140
- Update doc for VariableDeclarationUsageDistance. Author: Ayushman Sachan #7663
- update doc for ImportOrder. Author: Aryan Bindal #7687
- Github action CodeQL should use maven cache. Author: Shashwat Jaiswal #9203
- update ISSUE_TEMPLATE/feature_request.md to make demand to show current beharior by CLI. Author: Abhishek-kumar09 #9114
- Update doc for FileTabCharacter. Author: Ayushman Sachan #7620
- Update doc for AvoidNestedBlocks. Author: Ayushman Sachan #7579
- Add optional label/title to diff report message. Author: Andrei Paikin #9177
- Github actions should react with thump up (+1) emoj on message if triggered. Author: Akash Mondal #9187
- minor: fix anchors for generated pages. Author: Andrei Paikin #9185
- nondex tool found issue in token ordering at Indentation. Author: Nick Mancuso #9003
- Create MatchXpath instance to forbig usage of 'expected' element in Test annotation of junit. Author: Nick Mancuso #9137
- Use diff.groovy in openjdk14-with-checks-nonjavadoc-error semaphore job. Author: Nick Mancuso #8960
- To top button - different behavior and text on different pages. Author: Andrei Paikin #9001
- no-error-pgjdbc is failing on master build. Author: Abhishek-kumar09 #9176
- Checkstyle: Javadoc not required on private method. Author: Andrei Paikin #8710
New in Eclipse Checkstyle Plug-in 8.39 (Dec 31, 2020)
- New:
- New module: MatchXpath. Author: Timur Tibeyev #6481
- Bug fixes:
- OperatorWrapCheck no violation if single line comment after operator. Author: pbludov #8018
- Xpath suppression matching prone to stack overflow. Author: pbludov #5820
- Checkstyle fails on escape 's' character. Author: Nick Mancuso #8651
- Incorrect warning for array initializer indentation inside annotations when using google_checks.xml. Author: Abhishek-kumar09 #5951
- Update AbstractChecks to log DetailAST - TrailingComment. Author: Roman Ivanov #7763
- IndentationCheck throws NPE on switch expresion with `->` on new line. Author: Nick Mancuso #9037
- Notes:
- Lack of space: that@SuppressWarnings. Author: Roman Ivanov #9130
- Mark sonar violation 'Regular expressions should not overflow the stack' as false positive over AvoidEscapedUnicodeCharactersCheck. Author: Roman Ivanov #9129
- Github actions should reuse maven cache. Author: Andrei Paikin #9116
- update trigering of web site generation in github actions by 'website'. Author: Andrei Paikin #9117
- pitest: increase mutation coverage for javadoc profile to 100%. Author: Andrei Paikin #6295
- Resolve Pitest Issues - ImportOrderCheck (4). Author: Andrei Paikin #7875
- Do clean in all Travis maven commands. Author: Shashwat Jaiswal #8908
- Update wording of verify-no-exception-configs validation to mention what is expected. Author: Shashwat Jaiswal #9066
- Update doc for NestedIfDepth. Author: Vyom-Yadav #7652
- Semaphore CI failing on josm project build as local artifact is not found. Author: pbludov #9021
- Add default config example for ConstantName. Author: Vyom-Yadav #7564
- Add default config example for MethodName. Author: Roman Ivanov #7567
- IllegalType: inability to set default value for property memberModifiers. Author: Andrei Paikin #8933
New in Eclipse Checkstyle Plug-in 8.38 (Nov 29, 2020)
- New:
- new check: JavadocMissingLeadingAsteriskCheck. Author: Gaurav Punjabi #6722
- Bug fixes:
- InnerAssignment: false positives on for and do-while loops. Author: Roman Ivanov #6915
- RequireThis: Incorrectly triggers for record fields in compact constructor. Author: Anh Minh Tran #8873
- IndentationCheck: problem with content of anonymous class. Author: abhishek-kumar09 #5362
- EmptyLineSeparator flags commas for multiple single type variables on line. Author: Andrei Paikin #8957
- FinalLocalVariable throws a NPE on Switch expression in assignment. Author: Anh Minh Tran #8934
- Notes:
- Use azure CI for some validation tasks. Author: Roman Ivanov #7045
- Travis is failing with error to install mdl package. Author: pbludov #9046
- Isuse #7045: azure to use matrix. Author: Roman Ivanov
- Create jdk15 Input files compilation job in Travis. Author: Roman Ivanov #9007
- Test more project on drone.io. Author: Roman Ivanov #2460
- Docker limits is reached in wercker . Author: Roman Ivanov #9019
- Update doc for FinalClass. Author: Ehtesham #7609
- google_checks.xml: Public class and interface javadoc is not checked. Author: Nick Mancuso #5148
- Exclude Stream, Optional, and additional collection types from ClassFanOutComplexityCheck. Author: Andrei Paikin, Roman Ivanov #8537
- Default values in meta files for wrapped list of values are incorrect. Author: Andrei Paikin #8941
- Update doc for MultipleVariableDeclarations. Author: Akash Mondal #7669
- doc: Update doc LeftCurly to have more examples. Author: Roman Ivanov
- doc: add default example for NonEmptyAtclauseDescription. Author: Roman Ivanov
- Update doc for EmptyBlock. Author: Roman Ivanov #7580
- doc: Update AtclauseOrderCheck for default config example. Author: Roman Ivanov
- doc: add example for default config for AnnotationUseStyle. Author: Roman Ivanov
- Update doc for WriteTag. Author: Roman Ivanov #7606
- MethodParamPad: add examples. Author: Roman Ivanov #3601
- Relaxing the stated limitation about UTF-8 in documentation. Author: Olivier Cailloux #8551
- Nondeterministic order of error messages in Translation check. Author: Rashmi Mudduluru #8963
- Disable "checkstyle-cli-run-openjdk14" job in travis.sh. Author: Nick Mancuso #8921
- change all "at-clause" terms to "block tag" from source code and documentation. Author: Roman Ivanov #8552
- Run regression testing in CI over openjdk14 or newer codebase. Author: Nick Mancuso #8901
- Remove Buddy CI config . Author: pbludov #8951
- doc: add security policy page. Author: Roman Ivanov
- Keep user comment in env variable of git workflow. Author: Roman Ivanov #8938
New in Eclipse Checkstyle Plug-in 8.37 (Oct 31, 2020)
- New:
- New check: LambdaBodyLength . Author: Andrei Paikin #8341
- Bug fixes:
- ClassFanOutComplexity: false positive on var. Author: Andrei Paikin #6346
- Value 'empty' in metadata files for 'tokens' property cause problems in plugins. Author: Roman Ivanov #8916
- FinalLocalVariable: NPE in records. Author: Anh Minh Tran #8895
- Indentation: if with no curlies is not checked. Author: Abhishek-kumar09 #3135
- LocalFinalVariableName false-positive. Author: Andrei Paikin #8879
- NonEmptyAtclauseDescription does not work for @return. Author: Andrei Paikin #8889
- NoWhitespaceBeforeCheck: String index out of range (with Java 15 Text Block) when tabs are used. Author: Nick Mancuso #8849
- Local records fail to parse when annotated. Author: Nick Mancuso #8856
- Indentation: google-java-format and Checkstyle disagree about switch block indentation. Author: Abhishek-kumar09 #3899
- Notes:
- doc: Add Mega-Linter to active tools list. Author: Nicolas Vuillamy
- Anchor links for active and inactive tools on front page are broken. Author: Andrei Paikin #8925
- update Cirrus CI to not print download progress in logs. Author: Shashwat Jaiswal #8918
- Add default config example for ClassTypeParameterName. Author: AmrDeveloper #7562
- Create Github action to generate web site . Author: Andrei Paikin #8876
- Resolve Pitest Issues - RegexpCheck (2). Author: Anh Minh Tran #7983
- Update doc for EqualsAvoidNull. Author: AmrDeveloper #7637
- All Regexp Checks that has few instances should have id property. Author: Shashwat Jaiswal #8790
- add spring-cloud-gcp project to CIs no errror regresson testing. Author: Roman Ivanov #6209
- Add SpongePowered/Configurate Checkstyle run to CI to improve coverage of Java14 syntax. Author: Nick Mancuso #8859
- update doc for AvoidStaticImport. Author: AmrDeveloper #7685
- Update doc for EmptyStatement. Author: Anh Minh Tran #7665
- Update doc for FallThrough. Author: Timur Tibeyev #7640
- pitest: increase mutation coverage for pitest-imports profile to 100% . Author: Hem Bhagat #6658
- Use .ci/validation.cmd in appveyor ci. Author: pbludov #8864
- Set up Cirrus CI. Author: pbludov #8855
- Add markdown lint validation for .md files to CI. Author: pbludov #8909
New in Eclipse Checkstyle Plug-in 8.36.2 (Sep 27, 2020)
- Bug fixes:
- Indentation: lambda don't respect lineWrappingIndentation when forceStrictCondition is false. Author: Abhishek-kumar09 #3342
- Java interface constants treated as non-public by ConstantName check. Author: Andrei Paikin #8569
- JavadocTypeCheck: false positive with JavaDoc @param tags for Records (Java 14 + Java 15). Author: Nick Mancuso #8808
New in Eclipse Checkstyle Plug-in 8.36.1 (Sep 12, 2020)
- Bug fixes:
- DesignForExtension check crashes CheckStyle if an undocumented non-final method is present in a record (Java 14 + Java 15). Author: Nick Mancuso #8810
- FinalClass check crashes CheckStyle if there are multiple constructors in a record (Java 14 + Java 15) . Author: Nick Mancuso #8811
- IndentationCheck: false positive with nested records' methods (Java 14 + Java 15). Author: Nick Mancuso #8806
- Support for all Token Types as a Property Type for Module Metadata. Author: Gaurab Dasgupta #8801
- MissingSwitchDefault to exclude Java 14 switch expressions. Author: Nick Mancuso #8779
- Set tokenTypesSet as validationType for non base token properties. Author: Gaurab Dasgupta #8785
- Google style has improper enforcement of horizontal whitespace. Author: Shashwat Jaiswal #8122
- Notes:
- Update doc for NestedForDepth. Author: Roman Ivanov #7651
- Improve code coverage for metadata generator classes. Author: Gaurab Dasgupta #8771
- Update doc for IllegalThrows. Author: zy #7644
- Update doc for ExplicitInitialization. Author: Demezhan Marikov #7639
- Resolve Pitest Issues - ImportOrderCheck (1). Author: Shashwat Jaiswal #7872
- Doc: Add stickler-ci to the active tool list. Author: Mark Story
New in Eclipse Checkstyle Plug-in 8.36 (Aug 29, 2020)
- New:
- Create new check IllegalIdentifierName. Author: Nick Mancuso #8764
- Create New Check RecordComponentNumberCheck. Author: Nick Mancuso #8748
- JavadocParagraph should complain about missing blank line before at-clauses. Author: Joseph Mate #6192
- New check RecordTypeParameterNameCheck. Author: Nick Mancuso #8513
- Java14 Full Records Support Check Validation: JavaNCSSCheck. Author: Nick Mancuso #8505
- Support for Java 14 switch/yield expression. Author: Nick Mancuso #6615
- java 13 text blocks syntax is not supported. Author: Nick Mancuso #7103
- Java14 Full Records Support Check Validation: MethodParamPadCheck. Author: Nick Mancuso #8525
- Java14 Full Records Support Check Validation: AbbreviationAsWordInNameCheck. Author: Nick Mancuso #8511
- Implement full records support. Author: Nick Mancuso #8267
- new Check: PatternVariableName. Author: Nick Mancuso #8407
- Bug fixes:
- Java 14 Text Blocks Checks Support validation: SuppressWarningsHolder. Author: Nick Mancuso #8619
- Java14 Full Records Support Check Validation: OverloadMethodsDeclarationOrderCheck. Author: Nick Mancuso #8471
- Java 14 SwitchExpression Check Support validation: Indentation. Author: Nick Mancuso #8691
- Java14 Full Records Support Check Validation: SuppressWarningsCheck. Author: Nick Mancuso #8456
- Java14 Full Records Support Check Validation: AtclauseOrderCheck. Author: Nick Mancuso #8490
- Java14 Full Records Support Check Validation: AnnotationLocationCheck. Author: Nick Mancuso #8454
- Java14 Full Records Support Check Validation: AnnotationOnSameLineCheck. Author: Nick Mancuso #8455
- Java14 Full Records Support Check Validation: WriteTagCheck. Author: Nick Mancuso #8499
- Java14 Full Records Support Check Validation: UnnecessarySemicolonAfterTypeMemberDeclarationCheck. Author: Nick Mancuso #8476
- Java14 Full Records Support Check Validation: UnnecessarySemicolonAfterOuterTypeDeclarationCheck. Author: Nick Mancuso #8475
- Java14 Full Records Support Check Validation: InnerTypeLastCheck. Author: Nick Mancuso #8482
- Java14 Full Records Support Check Validation: IllegalTypeCheck. Author: Nick Mancuso #8468
- Java14 Full Records Support Check Validation: OneTopLevelClassCheck. Author: Nick Mancuso #8485
- Java14 Full Records Support Check Validation: TypeNameCheck. Author: Nick Mancuso #8515
- Compact Constructor AST is missing annotations. Author: Nick Mancuso #8734
- Java14 Full Records Support Check Validation: HiddenFieldCheck. Author: Nick Mancuso #8466
- Java14 Full Records Support Check Validation: ClassDataAbstractionCouplingCheck. Author: Nick Mancuso #8502
- Java14 Full Records Support Check Validation: CommentsIndentationCheck. Author: Nick Mancuso #8489
- Java14 Full Records Support Check Validation: JavadocMethodCheck. Author: Nick Mancuso #8492
- Java14 Full Records Support Check Validation: JavadocTypeCheck. Author: Nick Mancuso #8494
- Java14 Full Records Support Check Validation: MissingJavadocMethodCheck. Author: Nick Mancuso #8497
- Java14 Full Records Support Check Validation: MissingJavadocTypeCheck. Author: Nick Mancuso #8498
- Java14 Full Records Support Check Validation: JavadocStyleCheck. Author: Nick Mancuso #8493
- Java14 Full Records Support Check Validation: DeclarationOrderCheck. Author: Nick Mancuso #8463
- Java14 Full Records Support Check Validation: LeftCurlyCheck. Author: Nick Mancuso #8457
- Java14 Full Records Support Check Validation: RightCurlyCheck. Author: Nick Mancuso #8460
- Java 14 Text Blocks Checks Support validation: MultipleStringLiteralsCheck. Author: Nick Mancuso #8616
- LambdaParameterNameCheck throws NPE when parsing switch expressions. Author: Nick Mancuso #8683
- Java14 Full Records Support Check Validation: ClassFanOutComplexityCheck. Author: Nick Mancuso #8503
- Java 14 SwitchExpression Check Support validation: FinalLocalVariableCheck. Author: Nick Mancuso #8668
- Java 14 SwitchExpression Check Support validation: EmptyBlock. Author: Nick Mancuso #8662
- VariableDeclarationUsageDistanceCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8676
- Java 14 Text Blocks Checks Support validation: UnnecessaryParenthesesCheck. Author: Nick Mancuso #8618
- Java14 Full Records Support Check Validation: ClassMemberImpliedModifierCheck. Author: Nick Mancuso #8577
- Java 14 Text Blocks Checks Support validation: AvoidEscapedUnicodeCharacters. Author: Nick Mancuso #8613
- Java 14 Text Blocks Checks Support validation: StringLiteralEqualityCheck. Author: Nick Mancuso #8617
- Java 14 Text Blocks Support Check validation: IllegalTokenText. Author: Nick Mancuso #8576
- Java 14 Text Blocks Checks Support validation: EqualsAvoidNullCheck. Author: Nick Mancuso #8614
- Java 14 SwitchExpression Check Support validation: MissingSwitchDefaultCheck. Author: Nick Mancuso #8672
- Java 14 SwitchExpression Check Support validation: LeftCurlyCheck. Author: Nick Mancuso #8663
- NeedBracesCheck throws a NPE when parsing switch expression syntax. Author: Nick Mancuso #8664
- IndentationCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8661
- Java 14 SwitchExpression Check Support validation: DefaultComesLastCheck. Author: Nick Mancuso #8665
- Java 14 SwitchExpression Check Support validation: NPathComplexityCheck. Author: Nick Mancuso #8681
- HiddenFieldCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8659
- UnnecessaryParenthesesCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8660
- Change google_checks.xml to disallow abbreviations in identifiers names in accordance with Google Style Guide. Author: Shashwat Jaiswal #3812
- Java14 Full Records Support Check Validation: EmptyLineSeparatorCheck. Author: Nick Mancuso #8523
- Java14 Full Records Support Check Validation: MethodLengthCheck. Author: Nick Mancuso #8519
- Java14 Full Records Support Check Validation: NoLineWrapCheck. Author: Nick Mancuso #8526
- Java14 Full Records Support Check Validation: BooleanExpressionComplexityCheck. Author: Nick Mancuso #8501
- Java14 Full Records Support Check Validation: CyclomaticComplexityCheck. Author: Nick Mancuso #8504
- Java14 Full Records Support Check Validation: ExecutableStatementCountCheck . Author: Nick Mancuso #8517
- Java14 Full Records Support Check Validation: MethodCountCheck. Author: Nick Mancuso #8518
- Java14 Full Records Support Check Validation: OuterTypeNumberCheck. Author: Nick Mancuso #8520
- OuterTypeFileName throws NPE on record definition in method. Author: Nick Mancuso #8598
- Java14 Full Records Support Check Validation: ParenPadCheck. Author: Nick Mancuso #8527
- Java14 Full Records Support Check Validation: UncommentedMainCheck. Author: Nick Mancuso #8522
- Java14 Full Records Support Check Validation: EqualsAvoidNullCheck. Author: Nick Mancuso #8464
- Java14 Full Records Support Check Validation: OuterTypeFilenameCheck. Author: Nick Mancuso #8516
- Java14 Full Records Support Check Validation: RequireThisCheck. Author: Nick Mancuso #8473
- Java14 Full Records Support Check Validation: MagicNumberCheck. Author: Nick Mancuso #8469
- Java14 Full Records Support Check Validation: UnusedImportsCheck. Author: Nick Mancuso #8488
- Java14 Full Records Support Check Validation: NPathComplexityCheck. Author: Nick Mancuso #8506
- Notes:
- spelling: Correct French translations. Author: olivier-maury
- Move metadata generation code to main from test folder. Author: Gaurab Dasgupta #8761
- Introduction of modules metadata files generator. Author: Gaurab Dasgupta #8742
- PMD shows WARN during build . Author: Nick Mancuso #8754
- Remove BlockCommentPosition test input files from checkstyle_input_suppressions.xml. Author: Nick Mancuso #8738
- doc: rectify RequireEmptyLineBeforeBlockTagGroupCheck javadoc. Author: Gaurab Dasgupta
- Removal of examples from property description. Author: Gaurab Dasgupta #8732
- Mofication of module property default values to reflect actual working data. Author: Gaurab Dasgupta #8726
- doc: Modify PatternVariableNameCheck and RecordTypeParameterNameCheck to adhere to new template for metadata scraping. Author: Gaurab Dasgupta
- Extend Checkstyle GUI tool to work with Xpath. Author: hembhagat #4944
- Modification of javadoc example markers to support metadata generation. Author: Gaurab Dasgupta #8657
- Proof of Java 14 syntax by new CI build item. Author: Nick Mancuso #8631
- JavadocMethod: unclear message for incomplete tag. Author: Shashwat Jaiswal #2408
- Extract logic for token type checking to separate method. Author: Shashwat Jaiswal #8048
- LineLengthCheck.fileExtensions default value and similar usages should be changed to empty string. Author: Gaurab Dasgupta #8633
- Array default value should have no curly braces in Check javadoc documentation. Author: Gaurab Dasgupta #8630
- master build failure due to leaked pitest coverage. Author: Nick Mancuso #8604
- xml-maven-plugin validation should not validate '.ci-temp' folder . Author: Roman Ivanov #8606
- ci: disable spring integration project validation due to build problem. Author: Roman Ivanov
- Tests fail with German locale on Windows with default encoding. Author: TB #6560
- Java14 Full Records Support Check Validation: CovariantEqualsCheck. Author: Nick Mancuso #8462
- Java14 Full Records Support Check Validation: WhitespaceAroundCheck. Author: Nick Mancuso #8528
- Format xml sources. Author: pbludov #8544
New in Eclipse Checkstyle Plug-in 8.34 (Jun 28, 2020)
- New:
- INTERFACE_DEF token support in RightCurlyCheck. Author: Gaurab Dasgupta #7175
- Bug fixes:
- MissingJavadocMethod flagging private methods even target scope is public methods only. Author: Andrei Paikin #8266
- Update AbstractChecks to log DetailAST - Indentation. Author: Abhishek-kumar09 #7734
- Update AbstractChecks to log DetailAST - JavadocMethod. Author: HuGanghui #7739
- Update AbstractChecks to log DetailAST - EmptyLineSeparator. Author: HuGanghui #7730
- Update AbstractChecks to log DetailAST - VariableDeclarationUsageDistance. Author: HuGanghui #7766
- Update AbstractChecks to log DetailAST - TodoComment. Author: HuGanghui #7762
- Update AbstractChecks to log DetailAST - MissingJavadocType. Author: HuGanghui #7747
- Update AbstractChecks to log DetailAST - UnnecessaryParentheses. Author: Shashwat Jaiswal #7765
- Notes:
- Add input file for Java14 records #8290 Author: nmancus1 #8290
- doc: add example of how to run GUI from snapshot jar. Author: Roman Ivanov
- Java Grammar: need to introduce "id" rule to solve keyword as identifier problem. Author: nmancus1 #8308
- Extend Checkstyle GUI tool to work with Xpath. Author: hembhagat #4944
- Use JDK11 for wercker. Author: pbludov #8325
- Update issue template to new format. Author: Shashwat Jaiswal #7834
- Pitest Issue: Indentation. Author: Abhishek-kumar09 #8270
- Update java.g to allow new tokens to be added. Author: nmancus1 #8274
- Remove rss and sourceforge banners from website. Author: Roman Ivanov #8286
- Make test inputs compatible with Java 10+. Author: pbludov #8283
- Use archunit library to control source code . Author: Gaurab Dasgupta #7469
New in Eclipse Checkstyle Plug-in 8.33 (May 31, 2020)
- Breaking backward compatibility:
- Drop CDATA support in javadoc grammar . Author: pbludov #4937
- New:
- new Check: NoCodeInFile. Author: Gaurab Dasgupta #8132
- Allow to configure if ArrayTrailingComma should ignore single-line arrays. Author: Gaurav Punjabi #3201
- Bug fixes:
- Space betwee type annoation and [] or ... not verifiable for Google Style. Author: HuGanghui #6707
- Update AbstractChecks to log DetailAST - CustomImportOrder. Author: hembhagat #7728
- Java9: try-with-resources should accept fields. Author: Harsh Kukreja #6332
- JavadocTagContinuationIndentation doesn't report some lines. Author: Gaurav Punjabi #2813
- Remove from PackageDeclaration validation for empty files. Author: Gaurav Punjabi #8110
- JavadocMethod: false positive with validateThrows if catched inside the method. Author: wltan #7473
- Update AbstractChecks to log DetailAST - CommentsIndentation. Author: Shrey Kumar Singh #7727
- Notes:
- Sonar API Token has no access rights. Author: Roman Ivanov #8279
- Spotbugs should validate tests. Author: pbludov #8275
- Suppress Spotbugs violation for internal JaCoCo field. Author: pbludov #8262
- code cleanup: minimize future xdoc changes . Author: Gaurab Dasgupta #3946
- Resolve Pitest Issues - ImportOrderCheck (5). Author: yajna pandith #7876
- Cleanup .ci-temp folder after release notes generation. Author: nmancus1 #8268
- resolve FileTabCharacter violations in test resources. Author: Shashwat Jaiswal #8019
- Add default config example for AbstractClassName. Author: Praveen Kumar #7565
- update doc for ClassDataAbstractionCoupling. Author: Shashwat Jaiswal #7690
- Improve clean up of .ci-temp directory. Author: nmancus1 #7892
- Sonar violations: Refactor the body of this try/catch to have only one invocation throwing an exception. Author: Roman Ivanov #8249
- Checkstyle verification in printed as WARNING during build. Author: Roman Ivanov #8256
- spelling: Fix broken links in sun_checks.xml. Author: tosi29
- Making regex to validate missed space in comments in non main files. Author: HuGanghui #8169
- Broken link - AvoidDoubleBraceInitialization. Author: HuGanghui #7889
- Update CIs to validate empty outpu of 'git status' after execution. Author: nmancus1 #8228
- Resolve Pitest Issues - JavadocMethodCheck (8). Author: Gaurab Dasgupta #7980
- Use JOSM in our CI. Author: Roman Ivanov #3786
- Resolve Pitest Issues - UnusedImportsCheck. Author: AmrDeveloper #7921
- Resolve Pitest Issues - CustomImportOrderCheck (3). Author: kaustubh #7804
- Resolve Pitest Issues - ImportOrderCheck (2). Author: kaustubh #7873
- Update doc for NoFinalizer. Author: Omar Shawky #7671
- update test inputs to avoid long lines that violate 100 limit. Author: Gaurav Punjabi #8036
- doc: update link to moved javadoc-tool page. Author: pbludov
- Resolve PMD warning deprecated attribute 'ClassOrInterfaceDeclaration/@Image' . Author: Gaurav Punjabi #8206
- Jacoco coverage report should have grammar classes. Author: Roman Ivanov #8219
- Update Xpath unit tests to have at least two test methods. Author: Gaurav Punjabi #8151
- Page that explains system properties is not accesible from main page. Author: Shrey Kumar Singh #6475
- Unclear beginning development instructions . Author: Shashwat Jaiswal #8198
- sync content of cli tool in xdoc and cli tool help output . Author: Gaurab Dasgupta #6216
- Add default config example for CatchParameterName. Author: kaustubh #7563
- Update doc for MissingCtor. Author: Gaurav Punjabi #7667
- Create code of conduct. Author: Akhil singh #7833
- Update doc for AvoidInlineConditionals. Author: Gaurav Punjabi #7664
- Resolve Pitest Issues - JavadocMethodCheck (7). Author: Harsh Kukreja #7979
- doc: repo1.maven.org demands https. Author: Roman Ivanov
New in Eclipse Checkstyle Plug-in 8.32 (Apr 26, 2020)
- Breaking backward compatibility:
- Checker should use UTF-8 encoding by default. Author: nmancus1 #6204
- New:
- Update type definitions for OneTopLevelClass. Author: wltan #7957
- Add LABELED_STAT token support to NoWhitespaceBefore. Author: Wilfried Bounsi #8124
- Google Style Should Enforce Spaces after Commas. Author: Shashwat Jaiswal #5624
- AbbreviationAsWordInName: static final option. Author: wltan #6582
- New JavadocMissingWhitespaceAfterAsteriskCheck. Author: 0blivious #7183
- Bug fixes:
- Remove cli options -C and -W. Author: Gaurab Dasgupta #8181
- Update AbstractChecks to log DetailAST - AvoidEscapedUnicodeCharacters. Author: Gaurav Punjabi #7724
- SuppressWarningsHolder should not report violations. Author: AmrDeveloper #7848
- Update AbstractChecks to log DetailAST - PackageDeclaration. Author: kaustubh #7758
- Update AbstractChecks to log DetailAST - JavadocType. Author: wltan #7741
- Xpath results are not sorted in document order. Author: Gaurab Dasgupta #6988
- Update AbstractChecks to log DetailAST - OverloadMethodsDeclarationOrder. Author: nmancus1 #7756
- CustomImportOrderCheck.customImportOrderRules does not support the default value. Author: wltan #7128
- Update AbstractChecks to log DetailAST - InterfaceIsType. Author: HuGanghui #7735
- Update AbstractChecks to log DetailAST - MethodCount. Author: Shashwat Jaiswal #7743
- Update AbstractChecks to log DetailAST - AnnotationUseStyle. Author: Wilfried Bounsi #7722
- Update AbstractChecks to log DetailAST - JavadocContentLocation. Author: Harsh Kukreja #7738
- Notes:
- update documentation for windows users. Author: wltan #2622
- update doc for AnnotationOnSameLine. Author: Shrey Kumar Singh #7570
- Update AbstractChecks to log DetailAST - InterfaceMemberImpliedModifier. Author: Shashwat Jaiswal #7736
- Improve clean up of .ci-temp directory. Author: nmancus1 #7892
- Update doc for MissingJavadocMethod. Author: Gaurav Punjabi #7603
- Add default and missed property config example for AbbreviationAsWordInName. Author: wltan #7566
- remove from configs hardcode caused by MCHECKSTYLE-332. Author: Gaurav Punjabi #8168
- Enforce -e for all maven commands. Author: HuGanghui #8118
- Update doc for ParenPad. Author: Shrey Kumar Singh #7627
- Update doc for InnerTypeLast. Author: Gaurav Punjabi #7611
- Update Xpath unit tests to have at least two test methods. Author: Gaurav Punjabi #8151
- update doc for RegexpOnFilename. Author: hembhagat #7696
- use RegexpSingleline Check to validate amount of tests in Xpath tests. Author: Malintha1996 #7987
- Explain reason why Regexp can not be supported by Xpath. Author: kaustubh #7759
- upadate doc of AvoidDoubleBraceInitialization to make example compilable. Author: wltan #7811
- spelling: Fix typo in JavadocMethodCheck. Author: wltan
- doc: add leading asterisks for javadoc. Author: Gaurav Punjabi
- Update doc for JavadocTagContinuationIndentation. Author: kaustubh #7600
- Resolve Pitest Issues - JavadocMethodCheck (1). Author: Shrey Kumar Singh #7922
- Update doc for SeparatorWrap. Author: Shrey Kumar Singh #7628
- Update documentation of filters to reference targets of suppression. Author: Shrey Kumar Singh #7179
- update doc for ClassFanOutComplexity. Author: Shashwat Jaiswal #7691
- doc: Updated doc for OverloadMethodsDeclarationOrder. Author: Guneshi Wickramaarachchi
- Wrong tag usage in NeedBraces Check. Author: Shashwat Jaiswal #8011
- Set up Semaphore CI. Author: Pavel Bludov #8051
- move WriteTag Check to list of javadoc Check in XpathSuppressionFilter documentation. Author: Shashwat Jaiswal #7767
- Update AbstractChecks to log DetailAST - MissingJavadocMethod. Author: Shashwat Jaiswal #7745
- ci: fix failure in codeship to recognize multiline commands. Author: Roman Ivanov
- update doc for CyclomaticComplexity. Author: Shrey Kumar Singh #7692
- Update doc for IllegalType. Author: kaustubh #7647
- Set up JDK 14 build in CI. Author: pbludov #7969
- OverloadMethodsDeclarationOrderCheck: warning message is unclear. Author: Shashwat Jaiswal #4921
- doc: Reduce amount of bold formatting. Author: wltan
- Improve VisibilityModifier documentation for Rationale . Author: wltan #6745
- Update doc for TypecastParenPad. Author: Shrey Kumar Singh #7630
- Update doc for HideUtilityClassConstructor. Author: Shrey Kumar Singh #7610
- resolve Trailing whitespace violations in test resources. Author: Shashwat Jaiswal #8020
- LineLength is ignored in codeship config. Author: Roman Ivanov #7996
- Update doc for UpperEll. Author: kaustubh #7596
- Resolve Pitest Issues - RegexpCheck (1). Author: Gaurav Punjabi #7982
- Resolve Pitest Issues - JavadocMethodCheck (6). Author: kaustubh #7978
- Resolve errors reported by Travis Build Config Validation. Author: rnveach #8014
- Update doc for JavadocStyle. Author: Gaurav Punjabi #7599
- OneTopLevelClass: Improve data structure efficiency. Author: wltan #7812
- config_naming has inconsistent tag usage. Author: Shashwat Jaiswal #8005
- Update doc for WhitespaceAround. Author: Harsh Kukreja #7632
- Update doc for OperatorWrap. Author: Harsh Kukreja #7626
- Update doc on description of package annotation. Author: Wilfried Bounsi #7846
- doc: update IndentationCheck note for SuppressionXpathFilter. Author: Abhishek-kumar09
- Resolve Pitest Issues - ImportOrderCheck (3). Author: nmancus1 #7874
- Resolve Pitest Issues - DetectorOptions. Author: Wilfried Bounsi #7981
- Update doc for NewlineAtEndOfFile. Author: Gaurav Punjabi #7589
- update doc for RegexpSingleline. Author: malintha1996 #7697
New in Eclipse Checkstyle Plug-in 8.31 (Mar 29, 2020)
- New:
- New checkUnnecessarySemicolonAfterOuterTypeDeclaration. AuthorAndrei Paikin #7677
- Bug fixes:
- Update AbstractChecks to log DetailAST - AnnotationOnSameLine. AuthorWilfried Bounsi #7721
- Indentation violation for lambda depends on tab symbols in code. Authorliach #5969
- Update AbstractChecks to log DetailAST - LambdaParameterName. AuthorAbhishek-kumar09 #7742
- Update AbstractChecks to log DetailAST - MissingJavadocPackage. AuthorGaurab Dasgupta #7746
- Update AbstractChecks to log DetailAST - IllegalCatch. Authorsulkykookie #7732
- Update AbstractChecks to log DetailAST - InvalidJavadocPosition. AuthorShrey Kumar Singh #7737
- Update AbstractChecks to log DetailAST - NeedBraces. AuthorGaurav Punjabi #7750
- Update AbstractChecks to log DetailAST - UncommentedMain. AuthorAmrDeveloper #7764
- Update AbstractChecks to log DetailAST - ImportOrder. Authorkaustubh #7733
- Update AbstractChecks to log DetailAST - JavadocStyle. Authorwltan #7740
- NPE in MissingDeprecatedCheck. Authornmancus1 #7534
- Update AbstractChecks to log DetailAST - AvoidStarImport. AuthorAkhil singh #7725
- Update AbstractChecks to log DetailAST - FinalClass. AuthorHuGanghui #7731
- Update AbstractChecks to log DetailAST - MissingSwitchDefault. AuthorAbhishek-kumar09 #7749
- Update AbstractChecks to log DetailAST - MissingCtor. AuthorHuGanghui #7744
- Update AbstractChecks to log DetailAST - AvoidStaticImport. AuthorGaurab Dasgupta #7726
- Update AbstractChecks to log DetailAST - NoLineWrap. AuthorAbhishek-kumar09 #7753
- Update AbstractChecks to log DetailAST - PackageAnnotation. AuthorWilfried Bounsi #7757
- Update AbstractChecks to log DetailAST - AnnotationLocation. Authormalintha1996 #7768
- LineLength measures Java characters, not Unicode characters. AuthorNick Mancuso #5089
- Update AbstractChecks to log DetailAST - OuterTypeFilename. AuthorHuGanghui #7755
- Update AbstractChecks to log DetailAST - SuppressWarningsHolder. AuthorWilfried Bounsi #7761
- Update AbstractChecks to log DetailAST - MissingOverride. AuthorHuGanghui #7748
- Update AbstractChecks to log DetailAST - ArrayTrailingComma. AuthorWilfried Bounsi #7723
- Update AbstractChecks to log DetailAST - NoFinalizer. AuthorGaurab Dasgupta #7752
- Exception when using SuppressWarningsHolder with @SuppressWarnings as an annotation property (e.g. in Lombok). AuthorAmrDeveloper #7522
- Update AbstractChecks to log DetailAST - OneTopLevelClass. Authorwltan #7754
- JavadocStyleCheck incorrectly allows "style" tag. Authorwltan #7779
- Update AbstractChecks to log DetailAST - NoClone. AuthorWilfried Bounsi #7751
- Update AbstractChecks to log DetailAST - EmptyCatchBlock. Authorgaurabdg #7729
- Notes:
- Update doc for NoLineWrap. Authorsulkykookie #7623
- Resolve Pitest Issues - IllegalImportCheck (2). AuthorHarsh Kukreja #7855
- update doc for AnnotationLocation to have config first and code sample after. AuthorPrabod Dunuwila #7569
- Update doc for ThrowsCount. AuthorHarsh Kukreja #7615
- update doc for NPathComplexity. Authoredwardlee #7694
- Resolve Pitest Issues - RedundantImportCheck. AuthorGaurav Punjabi #7920
- Update doc for InterfaceIsType. AuthorHuGanghui #7612
- Update doc for InnerAssignment. AuthorAnubhav #7666
- Update doc for MagicNumber. AuthorParag Pachpute #7648
- update doc for JavaNCSS. AuthorGaurav Punjabi #7693
- Resolve Pitest Issues - IllegalImportCheck (1). AuthorAkhil singh #7854
- add spoon project to no-exception testing. AuthorAbhishek-kumar09 #7914
- docfix typo in config_whitespace.xml. AuthorHuGanghui
- Resolve Pitest Issues - CustomImportOrderCheck (4). Authormalintha1996 #7805
- Add pmd to no-error validation build item. AuthorNick Mancuso #7810
- Update doc for DefaultComesLast. Authorkaustubh #7636
- Update doc for NoWhitespaceBefore. AuthorAbhishek-kumar09 #7625
- pitestproblem with coverage in SuppressWarningsHolder.java.isSuppressedAfterEventStart AuthorAmrDeveloper #7885
- Update doc for OuterTypeFilename. AuthorHuGanghui #7590
- Resolve Pitest Issues - AvoidStarImportCheck (1). AuthorWilfried Bounsi #7799
- Update doc for RightCurly. Authoramoooma #7584
- Resolve Pitest Issues - AvoidStarImportCheck (2). AuthorHuGanghui #7800
- Publish pitest report as artifact at circleci. AuthorGaurab Dasgupta #7832
- Update doc for SingleSpaceSeparator. AuthorShrey Kumar Singh #7629
- Update doc for NestedTryDepth. AuthorAbhishek-kumar09 #7653
- Resolve Pitest Issues - CustomImportOrderCheck (1). Authorwltan #7802
- Update doc for EqualsHashCode. Authorkaustubh #7638
- Resolve Pitest Issues - AvoidStaticImportCheck. Authorgaurabdg #7801
- update doc for PackageAnnotation. AuthorPrabod Dunuwila #7574
- Update doc for SuperClone. AuthorWilfried Bounsi #7661
- update doc for RegexpSinglelineJava. AuthorWilfried Bounsi #7698
- update doc for MissingOverride. AuthorHuGanghui #7573
- Update doc for SimplifyBooleanExpression. AuthorWilfried Bounsi #7658
- Update doc for IllegalCatch. Authorgaurabdg #7642
- update doc for BooleanExpressionComplexity. AuthorAkhil singh #7689
- Update doc for UncommentedMain. AuthorAmrDeveloper #7594
- Update doc for IllegalTokenText. AuthorHuGanghui #7646
- Update doc for OneTopLevelClass. Authorwltan #7614
- Update doc for SimplifyBooleanReturn. AuthorWilfried Bounsi #7659
- Update doc for IllegalToken. AuthorHuGanghui #7645
- CI should validate checkstyle violations in satelite projects. Authorrnveach #7705
- docfix out-of-order div and dfn tags. Authorwltan
- docfix inconsistencies between code and docs. Authorwltan
- JavadocStyleCheckneed to support VAR html tag . Authorwltan #2410
- Update doc for NoClone. AuthorWilfried Bounsi #7670
- update doc for AvoidStarImport. AuthorAmrDeveloper #7684
- Update doc for GenericWhitespace. Authorwltan #7621
- Update doc for TodoComment. AuthorAmrDeveloper #7591
New in Eclipse Checkstyle Plug-in 8.30 (Feb 29, 2020)
- New:
- New check: AvoidDoubleBraceInitialization. Author: Andrei Paikin #6480
- Bug fixes:
- False-positive RightCurly in google_checks since 8.20. Author: Roman Ivanov #6807
- GenericWhitespace complains about normal spacing with generic constructor. Author: Andrei Paikin #6104
- NewlineAtEndOfFile=lf does not create error when file uses crlf. Author: Andrei Paikin #4074
- Notes:
- Update doc for StringLiteralEquality. Author: gaurabdg #7660
- Update doc for MissingSwitchDefault. Author: AmrDeveloper #7668
- Update doc for WhitespaceAfter. Author: nmancus1 #7631
- Doc: fix indentation of config example. Author: Andrei Paikin
- Doc: add example of non-instance member for MemberNameCheck. Author: pbludov
- Code samples for Naming Checks. Author: 0blivious #5832
- Doc: deprecated -> Deprecated. Author: Andrei Paikin
- Add warning message at style coverage pages that referenced config is not released. Author: Roman Ivanov #7505
- Change line number comparisons to use common isOnSameLine method. Author: Andrei_Paikin #7518
- Xpath implementation: relationship between getLocalPart and getStringValue . Author: Timur Tibeyev #7486
- Put in doc reason why ENUM_CONSTANT_DEF and LAMBDA tokens are not supported in RightCurlyCheck. Author: Roman Ivanov #7174
- Mrk DetailAST::getNumberOfChildren as deprecated. Author: pbludov #7512
- PMD warnings about duplicate rules. Author: Roman Ivanov #7509
- Automation of github actions for release.sh. Author: Roman Ivanov #6186 update release.sh with minor improvments. Author: Roman Ivanov #6333
New in Eclipse Checkstyle Plug-in 8.29 (Jan 27, 2020)
- New:
- New Check: AvoidNoArgumentSuperConstructorCall. Author: Andrei Paikin #7363
- New Check NoEnumTrailingComma. Author: sd1998 #6972
- ENUM_DEF token support in RightCurlyCheck. Author: sd1998 #7161
- FallThrough module does not support the spelling "fall-through" by default. Author: guillaume.lambert #7374
- Bug fixes:
- Java 8 Grammar: annotations on varargs parameters. Author: Erik Silkensen #3238
- Sonar violation: Disable XML external entity (XXE) processing. Author: Roman Ivanov #7468
- Disable instantiation of modules with private ctor. Author: Roman Ivanov #7472
- Sonar violation: "ThreadLocal" variables should be cleaned up when no longer used. Author: Roman Ivanov #7458
- Indentation incorrect level for chained method with bracket on new line. Author: alinkov #6210
- InvalidJavadocPosition: false positive when comment is between javadoc and package. Author: rnveach #7430
- Notes:
- Add method hasChildren to DetailAST. Author: pbludov #7487
- doc: extend Indentation Check explanation of line wrap. Author: Roman Ivanov
- Sonar violation: Cognitive Complexity of methods should not be too high (above 20). Author: Roman Ivanov #7475
- Enforce jdk8 verification during build. Author: Roman Ivanov #7492
- Resolve all violations from SonarQube at sonarcloud.io. Author: Roman Ivanov #5604
- Remove Google plus links from website. Author: Roman Ivanov #7465
- Checks summary page is not in sync with javadoc summary . Author: pbludov #7446
- doc: sync summaries of all checks. Author: pbludov
- Shippable CI is slow. Author: Roman Ivanov #7450
- Add a test to make sure that all new checks have XpathRegressionTest. Author: pbludov #7405
- Avoid using Locale.setDefault in tests. Author: pbludov #7436
- Google maven mirror do not have artifact for long time . Author: Roman Ivanov #7444
- SonarCloud upcoming change: "sonar.organization" property soon mandatory . Author: Roman Ivanov #7423
- Fix output of failed build item. Author: Roman Ivanov #7411
New in Eclipse Checkstyle Plug-in 8.28 (Dec 30, 2019)
- Breaking backward compatibility:
- JavadocMethodCheck: remove obsolete import token. Author: rnveach #7413
- Remove properties related to class loading from JavadocMethod . Author: rnveach #7329
- New:
- New Check NoArrayTrailingComma. Author: sd1998 #6971
- ANNOTATION_DEF token support in RightCurlyCheck. Author: sd1998 #7041
- Add suppression filters to google and sun configs. Author: Roman Ivanov #6946
- CustomImportOrder: introduce a new message for the violation within import group. Author: Zhenlei Huang #7278
- Bug fixes:
- CustomImportOrder: no expected violations for empty line within import group. Author: Zhenlei Huang #7119
- RightCurlyCheck: False Positive with SAME or ALONE_OR_SINGLELINE. Author: sd1998 #7187
- CustomImportOrder: should check empty line separator between import statements but not the ones before import statement. Author: Zhenlei Huang #7314
- EmptyLineSeparator: does not demand empty line if comment is present. Author: Andrei Paikin #4763
- Generation of xpath suppression file does not close file. Author: pbludov #7382
- JavadocMethod: missed throws tag for throw in method body. Author: Roman Ivanov #7380
- CustomImportOrder: unexpected violation for extra empty line between package and import. Author: Zhenlei Huang #6680
- RequireThis false positive on method reference . Author: Andrei Paikin #7306
- MissingJavadocPackage - file header interferes with javadoc detection. Author: Andrei Paikin #7117
- Notes:
- After migration to junit5 build output become to have output. Author: pbludov #7391
- Update AbstractChecks to log DetailAST (part3). Author: pbludov #5777
- Hardcode google tokens in config. Author: Roman Ivanov #6385
- doc: fix treeWithJavadoc command line option. Author: pbludov
- doc: add info about -b cli option to documentation. Author: Andrei Paikin
- Upgrade to junit 5. Author: Andrei Paikin, pbludov #6916
- Re-enable Tidy plugin. Author: pbludov #7372
- Fix type of Checker property cacheFile. Author: pbludov #7339
- doc: change "property" to "type" in property_types.xml. Author: pbludov
- Fix Issues left from mobile design. Author: Johannes Teklote, Roman Ivanov #7301
- linkcheck does not see dtd files. Author: pbludov #7340
- Integrate dependabot service. Author: Roman Ivanov #7224
- javadoc links to non-public members . Author: pbludov #7341
- Appveyor is not failing even build is failed . Author: Roman Ivanov #7330
- Add sprint-integrations to no-error test of werker. Author: Roman Ivanov #7322
- Fix Teamcity inspections issues. Author: pbludov #7309
- Revert "config: disable functionality of CI skip, to unblock all CIs". Author: rnveach
- Remove build for old non-LTS releases . Author: pbludov #7299
- Set up JDK-13 build and drop jdk-12. Author: pbludov #7281
- JDK 13 Travis Failure. Author: pbludov #7276
- Problem to open archive web ages starting from 8.21. Author: Roman Ivanov #7268
New in Eclipse Checkstyle Plug-in 8.27 (Nov 30, 2019)
- New:
- new check: JavadocContentLocationCheck. Author: pbludov #6724
- Bug fixes:
- RequireThisCheck: no violation produced when field is concatenated with String. Author: Andrei Paikin #7066
- Unused param not reported when missing description. Author: Puzeyev Alexandr #6743
- Notes:
- Checkstyle website does not resize to mobile browser screens.. Author: Roman Ivanov #7083
- fix website header rendering issue. Author: Johannes Teklote #7270
- Align XDocs and Javadocs for javadoc package. Author: pbludov #7208
- Dates of release if not properly rendering in Firefox. Author: Johannes Teklote #7036
- javadoc build problem on openjdk11. Author: Roman Ivanov #7267
- Resolve PMD deprecation warnings on InvalidSlf4jMessageFormat. Author: Roman Ivanov #7248
- Tests fail on OpenJDK 12 due to 'Failed to find the "modifiers" field in method setInternalState.'. Author: Roman Ivanov #7033
New in Eclipse Checkstyle Plug-in 8.26 (Oct 28, 2019)
- Breaking backward compatibility:
- Remove AbstractTypeAwareCheck and combine the missing pieces into JavadocMethod. Author: rnveach #7116
- Remove functionality of Checker.setClassLoader and TreeWalker.setClassLoader. Author: rnveach #3773
- Bug fixes:
- WriteTag: Add localization for javadoc.write.tag message. Author: pbludov #7120
- Notes:
- Upgrade to pmd 6.18.0. Author: Roman Ivanov #7225
- Tests fail on OpenJDK 12 due to 'Failed to find the "modifiers" field in method setInternalState.'. Author: Roman Ivanov #7033
- Purpose of UnnecessarySemicolonAfterTypeMemberDeclaration is unclear in documentation.. Author: Andrei Paikin #7077
- Doc: fix config sample for SuppressWithNearbyCommentFilter. Author: Roman Ivanov
- Config: fix Travis items to do more jdk11 and jdk12 builds. Author: Roman Ivanov #7192
- Align XDocs and Javadocs for modifiers package. Author: pbludov #7186
- Align XDocs and Javadocs for header package. Author: pbludov #7185
- Align XDocs and Javadocs for regexp package. Author: pbludov #7163
- Align XDocs and Javadocs for metrics package. Author: pbludov #7145
- Align XDocs and Javadocs for imports package. Author: pbludov #7144
- Create examples for UnnecessaryParentheses usage . Author: sd1998 #5747
- Fix JitCI build. Author: pbludov #7170
- Review disabled validations of eclipse compiler. Author: rnveach, Roman Ivanov #5060
- Config: fix previous commits check to avoid confusion with master and rewrite main ci for easier maintenance. Author: rnveach #7125
- Use ja-JP for Japanese locale, zh-CN for Chinese locale in travis.sh. Author: pbludov #7129
- Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach #6320
- Remove usage of DetailAST.branchContains. Author: pbludov #5124
- Fix pitest coverage for RightCurly. Author: rnveach #6367
- Spotbugs is not executed in build process of openjdk12. Author: Karl-Philipp Richter #7040
New in Eclipse Checkstyle Plug-in 8.25 (Sep 30, 2019)
- Breaking backward compatibility:
- DefaultLogger: remove deprecated constructors. Author: rnveach #7107
- ConfigurationLoader: remove deprecated constructors. Author: rnveach #7108
- XMLLogger: remove deprecated constructor. Author: rnveach #7105
- Remove "update" methods from DetailAST as developers shouldn't be modifying the tree from inside a check. Author: rnveach #6628
- FileContents: remove deprecated constructor and deprecated methods. Author: rnveach #7100
- JavadocMethodCheck: remove deprecated properties ignoreMethodNamesRegex, minLineCount, allowMissingJavadoc, allowMissingPropertyJavadoc. Author: rnveach #7096
- Remove AbstractTypeParameterNameCheck since it is Deprecated. Author: rnveach #7098
- New:
- RegexpMultiline not detecting matches across multiple lines. Author: rnveach #6717
- Update CLI to allow show tree branch that match xpath. Author: Andrei Paikin #6660
- Bug fixes:
- Please support preceding, preceding-sibling, following and following-sibling in XPath expressions. Author: Timur Tibeyev #6479
- DesignForExtension: method javadoc recognized as block comments. Author: rnveach #5450
- Notes:
- "NoExceptiontest - Checkstyle, sevntu-checkstyle" should test chekcstyle's code from PR. Author: Roman Ivanov #3279
- CI should fail if PR is based on an old master. Author: rnveach #5496
- Update CIs scripts to skip execution only after checking all commits changes. Author: rnveach #7023
- Appveyor.bat is changed right after clone of repo of github . Author: Roman Ivanov #7075
- CustomImportOrder: documentation should have description that only one separtor line is allowed. Author: Roman Ivanov #7080
- Align XDocs and Javadocs for sizes package. Author: pbludov #7060
- Tests do not work properly on Windows with LF line endings. Author: Björn Kautler, Roman Ivanov #6558
- Revert "Issue #2116: use checkstyle fork of xwiki with fix to pass CI build". Author: rnveach
- Revert "Issue #2116: use forked simple-binary-encoding with fix to pass CI build". Author: Roman Ivanov
- MainTest#testExistingTargetFileButWithoutReadAccess fails on Win10 machine. Author: Andrei Paikin #7032
New in Eclipse Checkstyle Plug-in 8.24 (Sep 1, 2019)
- Breaking backward compatibility:
- Change LineLength Check parent from TreeWalker to Checker. Author: rnveach, Roman Ivanov #2116
- MissingDeprecated: refactor to use javadoc AST . Author: rnveach #4983
- New:
- Add ID format property to SuppressWithPlainTextCommentFilter. Author: Erik Silkensen #6954
- New check: JavadocBlockTagLocation. Author: pbludov #6929
- new check: UnnecessarySemicolonAfterTypeMemberDeclaration . Author: Andrei Paikin #6847
- Add ID format property to SuppressWithNearbyCommentFilter. Author: Erik Silkensen #6884
- Add ID format property to SuppressionCommentFilter. Author: Erik Silkensen #6883
- Bug fixes:
- Command line option -o does not produce output with -g option. Author: Andrei Paikin #6934
- NeedBraces: lambda with no braces not reported when contents span multiple lines. Author: Andrei Paikin #3837
- Notes:
- Use violation term as much as possible. Author: Roman Ivanov #6771
- Remove usage of DetailAST.branchContains. Author: rnveach #5124
- create tests in MainTest.java to cover execution over some Input for sun and google configs. Author: Roman Ivanov #7021
- stop using puppet/disteli CI . Author: Roman Ivanov #7017
- Align XDocs and Javadocs for miscellaneous package. Author: pbludov #6966
- Expand XPath IT Regression Testing. Author: Mincong HUANG #6207
- doc: fix compilation error. Author: Mincong HUANG
- Japanese locale contains mistranslation. Author: Yuki Shira #7012
- Make test on file that have no read access but has write access. Author: Roman Ivanov #6991
- Align XDocs and Javadocs. Author: pbludov #5750
- Upgrade PMD to 6.17.0. Author: Roman Ivanov #6868
- pitest: increase mutation coverage for pitest-main profile to 100% . Author: Roman Ivanov #6982
- doc: fix sample code of AvoidInlineConditionals to be compilable. Author: Mincong HUANG
- Java] Checkstyle CLI while generating xpath suppressions provides extraneous stdout output. Author: Roman Ivanov #6974
- Update link to latest version of CLI jar. Author: Roman Ivanov #6933
- spell checker is failing due to failure to get words file. Author: Roman Ivanov #6949
- eclipse violation over javadoc of AtclauseOrderCheck.java. Author: Erik Silkensen #6947
- javadoc error in NeedBracesCheck.java. Author: Erik Silkensen #6948
- Xdocs: sort values for String Set properties. Author: pbludov #6938
- CLI: Add short versions for 'executeIgnoredModules' and 'tabWidth'. Author: rnveach #6936
- CI: hide maven download text to prevent log overflow. Author: Roman Ivanov #6919
- Align XDocs and Javadocs for filters package . Author: pbludov #6726
New in Eclipse Checkstyle Plug-in 8.23 (Jul 27, 2019)
- New:
- new filter SuppressionSingleFilter. Author: rnveach #6402
- OneStatementPerLine: add treatTryResourcesAsStatement property. Author: Andrei Paikin #6790
- MagicNumber: new proprty ignoreAnnotationElementDefaults to ignore magic numbers in annotation default values. Author: Andrei Paikin #4383
- new check: InvalidJavadocPosition. Author: rnveach #6649
- Bug fixes:
- InnerAssignment reports violation when && condition is in WHILE expression. Author: Andrei Paikin #6805
- SuppressWithPlainTextCommentFilter ignores messageFormat when matching on ID. Author: Erik Silkensen #6887
- Javadoc mishandling NEWLINE when next to ATTRIBUTE. Author: rnveach #6865
- SuppressWithNearbyCommentFilter does not match messages. Author: Erik Silkensen #6875
- SuppressionCommentFilter ignores messageFormat when matching on ID. Author: Erik Silkensen #6879
- InvalidJavadocPositionCheck: false negative on javadocs with local variables. Author: rnveach #6857
- Notes:
- doc: Serialisation -> serialization. Author: Andrei Paikin
- Replace sevntu-checkstyle-maven-plugin with explicit dependency to sevntu-checks. Author: Ruslan Diachenko #6910
- pitest: increase mutation coverage for pitest-checks-coding profile to 100%. Author: Emil Bremer Orloff #5008
- Skip dry run build item for maven release commit. Author: ashabib #3383
- format xdoc/javadoc files to follow rule of LineLength (max ia 100). Author: pbludov #6902
- pitest: increase mutation coverage for pitest-filters profile to 100%. Author: Erik Silkensen #6659
- Don't use absolute checkstyle links in xdocs. Author: rnveach #6900
- Create appveyor.bat for CI commands. Author: ahmadshabib #6696
- Align XDocs and Javadocs for filters package . Author: pbludov, Roman Ivanov #6726
- doc: Add missing slash for constant name check doc. Author: utzcoz
- Make inner class SuppressWithPlainTextCommentFilter.Suppression private. Author: pbludov #6890
- Enforce FileTabCharacter and RegexpSingleline for trailing whitespace over resources. Author: rnveach #5941
- Remove TreeWalker#validateDefaultTokens. Author: Andrei Paikin #6858
- Make inner class SuppressionCommentFilter.Tag private. Author: pbludov #6844
- Make inner class SuppressWithNearbyCommentFilter.Tag private. Author: pbludov #6854
- Add xpath tests for new Checks of 8.22. Author: Andrei Paikin #6848
New in Eclipse Checkstyle Plug-in 8.22 (Jun 23, 2019)
- New:
- New check: MissingJavadocPackageCheck . Author: Andrei Paikin #6705
- New check: UnnecessarySemicolonInTryWithResources. Author: Andrei Paikin #6774
- New check: UnnecessarySemicolonInEnumeration. Author: Andrei Paikin #6773
- New check: OrderedProperties. Author: Thomas Senger #6311
- Bug fixes:
- NeedBraces: False Positives for LITERAL_CASE and LITERAL_DEFAULT. Author: Andrei Paikin #4764
- AnnotationUseStyle does not detect all violations in EXPANDED style. Author: Andrei Paikin #6818
- AnnotationUseStyle: compact_no_array does not violate extended and multi param annotations. Author: Andrei Paikin #3210
- Loading config.xml from classpath doesn't work properly. Author: Peter De Maeyer #6232
- Notes:
- Suppression documentation links to old DTDs. Author: Roman Ivanov #6804
- Align XDocs and Javadocs for filters package . Author: pbludov #6726
- Resolve violations from IDEA 20191.3. Author: Roman Ivanov #6821
- Align XDocs and Javadocs. Author: pbludov #5750
- Remove usage of DetailAST.branchContains. Author: Andrei Paikin #5124
- Limit xdoc Properties subsection to one table. Author: pbludov #6800
- Split it module test support between different configurations. Author: rnveach #6801
New in Eclipse Checkstyle Plug-in 8.21 (May 26, 2019)
- Breaking backward compatibility:
- NewlineAtEndOfFile default should be OS agnostic. Author: Björn Kautler #4073
- Remove PARAMETER_DEF from AnnotationLocation. Author: Björn Kautler #6462
- API: make api not depend on antlr by splitting DetailAST between implementation and interface. Author: rnveach #3417
- new check: MissingJavadocMethod from JavadocMethod. Author: rnveach #6703
- Bug fixes:
- LocalVariableName: allowOneCharVarInForLoop should allow one char variable in loop. Author: Andrei Paikin #6489
- Do not handle local variables for VARIABLE_DEF in AnnotationLocation. Author: Björn Kautler #6463
- OneStatementPerLine: false-positive on try-with-resource when objects just referenced. Author: Andrei Paikin #6125
- NewlineAtEndOfFile with LF_CR_CRLF does not work properly. Author: Björn Kautler #6508
- EmptyCatchBlock check does not work properly with non-system line endings in files. Author: Björn Kautler #6513
- Notes:
- Code samples for Naming Checks. Author: jack870131 #5832
- Align XDocs and Javadocs for whitespace package. Author: pbludov #6749
- spelling: identificator->identifier. Author: pbludov
- spelling: inpection. Author: pbludov
- refactoring of DetailASTTest.testTreeStructure. Author: rnveach #4900
- Fix sonar warnings. Author: Andrei Paikin #6764
- move OSX executions from travis.yml to travis.sh . Author: ahmadshabib #6701
- doc: fix my name in release notes. Author: Björn Kautler
- Issue template should clarify failure to follow template will lead to issue being closed Author: rnveach #6742
- Align XDocs and Javadocs for design package. Author: pbludov #6725
- investigate increase of '-all' jar. Author: rnveach #6713
- Cached Google Style is slightly outdated and not like original. Author: Björn Kautler #6619
New in Eclipse Checkstyle Plug-in 8.20 (Apr 28, 2019)
- New:
- New MissingJavadocCheck(s). Author: rnveach #5411
- Bug fixes:
- IllegalType: illegal types in overridden methods should not be reported. Author: Björn Kautler #6612
- EmptyLineSeparator check does not validate newlines before comments. Author: kazachka #5981
- Exception in JavadocMethod to get access to class in jdk9. Author: rnveach #6606
- RightCurly false-positives for multi-block continuation. Author: Björn Kautler #6466
- TranslationCheck reports duplicate lines in xml report. Author: rnveach #5103AnnotationUseStyle: false positive on annotation with default nested annotation inside. Author: Andrei Paikin #6540
- RightCurly with option alone false negative for class, method and constructor. Author: WANG CHAO #6345
- Notes:
- Align XDocs and Javadocs for coding package. Author: pbludov #6586
- Set up JDK12 buid. Author: rnveach #6687
- Minor: GeneratedJava14LexerTest depends on encoding, not on OS, so fix the assumption to represent this. Author: Björn Kautler #6608
- MultipleVariableDeclarations missing from sun style. Author: Björn Kautler #6490
- Doc: expand documentation for scope property type. Author: rnveach
- Pitest: increase mutation coverage for api profile to 100%. Author: rnveach #6635
- Remove usage of antlr specific methods from our checks. Author: rnveach #6624
- Idea: fix ThisEscapedInConstructor idea violation for AbstractClassCouplingCheck.FileContext class. Author: rnveach #4861
- Test inputs should be completely standalone.. Author: rnveach #4845
- Fix pitest coverage for RightCurly. Author: WANG CHAO #6367
New in Eclipse Checkstyle Plug-in 8.19 (Apr 1, 2019)
- Breaking backward compatibility:
- Xpath: change implementation of the @text attribute. Author: Timur Tibeyev #6356
- Remove `cache` field from TreeWalker in Checkstyle 8.0. Author: rnveach #2883
- Remove DTDs from http://checkstyle.sourceforge.net and from http://puppycrawl.com/. Author: Roman Ivanov #6478
- Remove hashCode and equals methods from FilterSet. Author: rnveach #6494
- New:
- Add tabWidth to Checker and FileSets. Author: rnveach #6485
- AnnotationLocation: add support for PACKAGE_DEF, ENUM_CONSTANT_DEF. Author: pbludov #6379
- Bug fixes:
- JavadocUtil doesn't recognize Javadocs in certain places. Author: rnveach #6516
- False positive in AnnotationUseStyle for version 8.17. Author: rnveach #6446
- Overly complex default regex in SuppressWarnings format. Author: Björn Kautler #6453
- Remove AvoidInlineConditionals from sun_checks.xml. Author: Björn Kautler #6470
- Javadoc for package-info file is not validated. Author: rnveach #5769
- Notes:
- Wrong documentation for InnerAssignment. Author: Björn Kautler #6488
- doc: added documentation for global tabWidth. Author: rnveach
- Align XDocs and Javadocs for coding package. Author: pbludov #6586
- Exclude module-info.java from Google and Sun configurations. Author: Martin Kröning #6570
- Fix PMD violation UseProperClassLoader. Author: pbludov #5680
- Enable PMD rule UseUnderscoresInNumericLiterals. Author: pbludov #6579
- Verify all modules are listed in contribution no exception configurations. Author: rnveach #5897
- Enable PMD rule LinguisticNaming. Author: pbludov #6578
- Java Grammar: Hard to understand message. Author: rnveach #4632
- Site files are not schema-valid. Author: Björn Kautler #6563
- minor: reset the test stream for each test. Author: Björn Kautler #6557
- Upgrade to PMD 6.12.0. Author: pbludov #6536
- Align XDocs and Javadocs for annotations package. Author: pbludov #6531
- Disable XML External Entity load in XmlUtil.java in tests. Author: Roman Ivanov #6133
- Align XDocs and Javadocs for blocks package. Author: pbludov #6532
- Wrong JavaDoc example for NestedForDepthCheck. Author: Björn Kautler #6491
- Fix PMD violation CommentDefaultAccessModifier. Author: pbludov #5665
- Enforce FileTabCharacter and RegexpSingleline for trailing whitespace over resources. Author: rnveach #5941
- Setup checkstyle validation to forbid type StringBuffer. Author: rnveach #5506
- Cut down on Checkstyle's dependencies on Guava, phase II. Author: rnveach #3484
- resolve warning in build output from PMD . Author: rnveach #6226
- Expand checkstyle_resources_checks.xml to IT resources. Author: rnveach #6542
- links in header comment block of sun_checks.xml are outdated . Author: rnveach #6420
- Align XDocs and Javadocs. Author: pbludov #5750
- MissingOverride javaFiveCompatibility true in checkstyle_checks.xml. Author: Björn Kautler #6452
- Typo in Lcurly docs. Author: Björn Kautler #6458
- Unclear rational in ExplicitInitialization. Author: Björn Kautler #6472
- Wrong public identifier in doctype of example empty suppressions file. Author: Björn Kautler #6449
- Typo in docs of VisibilityModifier. Author: Björn Kautler #6468
- spelling: fix then / than typos. Author: Björn Kautler
- spelling: update messages for french translation. Author: sebastienaubry
- Code samples for Naming Checks. Author: jack870131 #5832
- EmptyCatchBlock change property types to Regexp. Author: rnveach #6455
- Make all FilterElements immutable. Author: rnveach #6496
- Remove hashCode/equals from SuppressionFilter and mark SuppressFilterElement immutable. Author: rnveach #4734
- MissingDeprecated description has a typo. Author: ejaksla #6451
New in Eclipse Checkstyle Plug-in 8.18 (Feb 25, 2019)
- Breaking backward compatibility:
- Disable loading external DTDs by default, create system property to activate it. Author: Roman Ivanov #6474
- IllegalType: rename "format" property to "illegalAbstractClassNameFormat". Author: rnveach #5900
- AnnotationLocation: Remove unused tokens. Author: pbludov #6416
- Command Line arguments should be allow to exclude a file. Author: rnveach #6399
- New:
- ArrayTypeStyle: add support for brackets in method definition after parameters. Author: Erik Silkensen #6301
- new filter SuppressionXpathSingleFilter. Author: jack870131 #5879
- Bug fixes:
- AnnotationLocation: named parameters must be considered parameters. Author: pbludov #6440
- JavadocStyleCheck crashes for some Javadoc comments with HTML comments. Author: rnveach #4564
- Incorrect warning for empty lambda bodies with google_checks.xml. Author: WANG CHAO #6381
- FinalLocalVariable: IllegalStateException. Author: Erik Silkensen #6377
- Slowdown with UnusedImportsCheck. Author: rnveach #6403
- Notes:
- review TreeWalker.setupChild method for exceptional cases. Author: rnveach #4814
- Remove powermock. Author: rnveach #6439
- refactoring in configs. Author: rnveach #4877
- update to picocli 3.9.1 result in UT MainTest.testNonExistentOutputFormat failure. Author: rnveach #6397
- Negate SuppressElement.accept. Author: rnveach #4979
- Code samples for Naming Checks. Author: jack870131 #5832
- Rename Filters which aren't module filters to FilterElement. Author: rnveach #4978
- doc: add File Filter section in extending.xml. Author: WANG CHAO
- Cache: file skipped on 2nd run when exception happened on it in first run. Author: rnveach #6297
- Move UTF-8 limitation info in documentation. Author: WANG CHAO #6083
- use ForbidAnnotationElementValueCheck from sevntu.checkstyle. Author: rnveach #3567
- minor: solved pitest issues with ImportOrderCheck. Author: rnveach #6424
- Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach, Roman Ivanov #6320
- Add build instructions to README. Author: Roman Ivanov #6236
- Indentation: indentation level is being corrupted in class fields. Author: rnveach #6308
- doc: Fixed grammar errors. Author: Glusk2
New in Eclipse Checkstyle Plug-in 8.17 (Jan 28, 2019)
- Breaking backward compatibility:
- Java Grammar: use TYPE_EXTENSION_AND instead of BAND in typecast expression. Author: pbludov #6354
- RightCurly: remove obsolete shouldStartLine property. Author: Piyush Sharma, Roman Ivanov #4022
- Bug fixes:
- FinalLocalVariable: NPE with PARAMETER_DEF on methods of inner classes. Author: Erik Silkensen #6375
- EqualsAvoidNull: improper frame tracking. Author: rnveach #6373
- Translation doesn't obey no halt on exception and doesn't show path to bad file. Author: rnveach #6340
- Notes:
- CI: spellchecker script is not ready for running manually by contributors. Author: Josh Soref #6021
- Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach, Roman Ivanov #6320
- Jenkins: switch the build machine (slave) from hyper.sh to AWS spot instance. Author: Daniil Yaroslavtsev #6359
- EmptyLineSeparatorCheck: surviving mutant from REMOVE_CONDITIONALS. Author: rnveach #6350
- Update eclipse compiler to R10. Author: pbludov #6330
- Checkstyle's self config fails on non-US locale because of english suppression. Author: Roman Ivanov #5350
New in Eclipse Checkstyle Plug-in 8.15 (Dec 1, 2018)
- Breaking backward compatibility:
- Remove Lambda from RightCurlyCheck . Author: rnveach #5948
- New:
- JavadocType: Add "allowedAnnotations". Author: Nikolaos Georgiou #5608
- IllegalType should check extends & implements and class/interface type parameters. Author: Pavel Bludov #6118
- Bug fixes:
- TreeWalkerAuditEvent doesn't create events on the absolute file path. Author: rnveach #6028
- IllegalType should ignore parameters of methods with modifiers not in 'memberModifiers'. Author: Eric Bruneton #6123
- AbbreviationAsWordInName: false positive on capital letters on the end of the word. Author: Erik Silkensen #6130
- Notes:
- Performance issue with file.lastModified(). Author: Roman Ivanov #6096
- warning during build of site with equalsverifier-3.0.2. Author: Roman Ivanov #6213
- upgrade to latest picocli version to fix extra space in help output. Author: Roman Ivanov #6175
- Please add link to contributing.md in README.md. Author: varunu28 #5488
- update to saxon 9.9. Author: Timur Tibeyev #6149
- Update AbstractChecks to log DetailAST (part 2). Author: rnveach #5758
- update sources to avoid usage of sourceforge.net URLs. Author: rnveach, Roman Ivanov #6185
- using picocli as command line parser. Author: Remko Popma, Roman Ivanov #6068
- Add equalsverifier project to wrecker ci. Author: Roman Ivanov #6167
- ImportOrder: example of Intellij Idea default import order is not working. Author: Jan Ouwens #5510
New in Eclipse Checkstyle Plug-in 8.14 (Oct 22, 2018)
- New:
- IllegalType: does not check types in generics. Author: Pavel Bludov #5118
- Notes:
- Code samples for Naming Checks. Author: jack870131 #5832
- Update FullIdent to store DetailAST instead of line/column. Author: Pavel Bludov #6121
New in Eclipse Checkstyle Plug-in 8.13 (Oct 5, 2018)
- New:
- ClassFanOutComplexity: count complexity base annotations/extends/implements/methods params. Author: kazachka #4092
- Notes:
- Code samples for Naming Checks. Author: jack870131 #5832
- exception in build log from spotbugs. Author: Roman Ivanov #6098
- Line numbers should start at 1. Author: Boxuan Li #6000
- Align XDocs and Javadocs. Author: rnveach #5750
- CircleCI is failing due to missed checkout content. Author: Roman Ivanov #6093
- Upgrade to PMD 6.6.0. Author: Pavel Bludov #5790
- Unstable build due to not accesible decoration-1.0.0.xsd. Author: Roman Ivanov #6077
New in Eclipse Checkstyle Plug-in 8.12 (Aug 12, 2018)
- New:
- LeftCurly : add support for LITERAL_CASE and LITERAL_DEFAULT . Author: Pavel Bludov #5207
- ImportOrder: allow static imports be separated by local groups when they are at the top/bottom. Author: Pavel Bludov #5279
- ImportOrder: new property groupsStatic to allow define groups for static imports. Author: Pavel Bludov #5724
- InterfaceMemberImpliedModifier: New Check to demand all modifiers to be explicit in interfaces members. Author: Stephen Colebourne #5899
- Bug fixes:
- Remove lambda support from ParameterName. Author: kazachka #5894
- EmptyLineSeparator raises violations when static import right after plain import. Author: Pavel Bludov #4625
- Notes:
- Spell check failing to get words file. Author: Pavel Bludov, Roman Ivanov #6046
- Doc: bounty note. Author: Pavel Bludov
- Spelling: add xcode. Author: Pavel Bludov
- Travis CI: MAC build is broken. Author: Pavel Bludov #6055
- Change grammars package name to grammar. Author: mismatch #5891
- Checkstyle's html report related links are not working. Author: Roman Ivanov #6043
- Resolve violations from IDEA 2018.1.6. Author: Roman Ivanov #6037
- SuppressWithNearbyCommentFilter: update document and examples on when it is appropriate to use. Author: Lukas Eckert #5973
- XpathSuppression generation should support module id. Author: Timur Tibeyev #5984
- Add XDoc SubSection Anchor. Author: rnveach #6014
- Add to CI import order validation on certain projects. Author: Pavel Bludov #6018
- Doc: reference in SuppressionXpathFilter doc about ability to generate suppressions by CLI. Author: Timur Tibeyev
- XpathFileGeneratorAstFilter: EVENTS and QUERIES as single map. Author: Timur Tibeyev #5979
- Redo XML_Structure documentation section. Author: Roman Ivanov #6011
- Mark all checks with appropriate annotation so that they could be used in the MT mode. Author: Andrew Kuchev, rnveach #4870
- Update documentation of SuppressionFilter with links to latest DTDs. Author: Roman Ivanov #6003
- Checkstyle Ant prints null for checkstyle version. Author: Roman Ivanov #6001
- Update documentation for same of RighCurly. Author: Roman Ivanov #5970
- Internal XPath Regression fails on RequireThisCheck. Author: rnveach #5996
- Setup Jenkins CI for building Pull Requests. Author: Daniil Yaroslavtsev #5953
- Doc: fix download URLs. Author: Michael Ernst
New in Eclipse Checkstyle Plug-in 8.11 (Jul 1, 2018)
- Breaking backward compatibility:
- Add HTML5 tags support to Javadoc antlr4 grammar and related classes. Author: Piyush Sharma #3332
- New:
- Generate a suppressions.xml file for SuppressionXpathFilter from the errors list by CLI command. Author: timurt #102
- new Check - LambdaParameterName. Author: kazachka #5893
- Bug fixes:
- ImportOrder: False positive for multiline imports. Author: Pavel Bludov #5881
New in Eclipse Checkstyle Plug-in 8.10.1 (May 28, 2018)
- Bug fixes:
- Update AbstractChecks to log DetailAST (part 1, easy cases).
New in Eclipse Checkstyle Plug-in 8.10 (May 1, 2018)
- New:
- ImportControl: add ability to control imports in certain classes . Author: rnveach #3492
- Add the new option for Checkstyle CLI to generate the basic suppression xpath. Author: Timur Tibeyev #4530
- Bug fixes:
- Store IDENT token type in the xpath tree. Author: Timur Tibeyev #5508
- Xpath Mapper : UnsupportedOperationException when several queries are combined. Author: Timur Tibeyev #5571
- HeaderCheck: fails with empty lines. Author: Paul Campbell #5511
- CheckUtils.parseDouble: wrong result for negative values. Author: Pavel Bludov #5709
- FinalClassCheck: 'extractQualifiedName' omits 2nd ident of package name. Author: rnveach #5706
- Indentation: false positive for one-line lambda. Author: Pavel Bludov #5675
- Notes:
- format xdoc files to follow rule of LineLength (max ia 100) . Author: rnveach #5291
- Remove remnants of cobertura usage. Author: Pavel Bludov #5616
- Create xdoc page to explain the new Xpath-based suppression model. Author: Timur Tibeyev #5513
- Migrate to CircleCI 2.0. Author: Roman Ivanov #5657
- consider introducing spelling regression checker. Author: Josh Soref, Roman Ivanov #5676
- remove all authors javadoc tags from sources. Author: Roman Ivanov #5738
- PMD 6: migrate configuration to pmd 6.X version. Author: Pavel Bludov #5603
- jsoref spell checker: skipp all files/folders that are referenced in .gitignore. Author: Josh Soref #5719
- spellchecker: don't complain about case. Author: Josh Soref #5732
- Replace File{Input,Output}Stream with Files.new{Input,Output}Stream. Author: Pavel Bludov #5638
- config: moved disallows to be first in import control. Author: rnveach
- UpperEll rule description gives bogus reason: Capital(!) L looks like 1. Author: Roman Ivanov #5718
- refactor PackageObjectFactoryTest.testCreateModuleWithNonExistName. Author: surajumang #5677
- jsoref spellchecker: group word families togeth. Author: Josh Soref #5701
- jsoref spell checker: remove resource from validation. Author: Josh Soref #5693
- Update javadoc for MismatchStrategy. Author: Roman Ivanov #5695
- spelling: anon - API: sevntu-checkstyle/sevntu.checkstyle#657. Author: Josh Soref
- migrate to circleci 2.0. Author: Roman Ivanov #5528
- spelling: commenting. Author: Josh Soref
- spelling: unclear. Author: Josh Soref
- spelling: performance. Author: Josh Soref
- spelling: indentation. Author: Josh Soref
New in Eclipse Checkstyle Plug-in 8.9 (Apr 4, 2018)
- Breaking backward compatibility:
- ImportControl: reverse order of allow/disallow rule matching. Author: rnveach #5642
- Bug fixes:
- Indentation: wrapped method name. Author: Pavel Bludov #5655
- Indentaton: super() is ignored. Author: Pavel Bludov #3808
- IllegalType: support arrays as types. Author: kazachka #4429
- Notes:
- spelling: a lot of spelling fixes. Author: Josh Soref
- PMD 6: migrate configuration to pmd 6.X version. Author: Pavel Bludov #5603
- wercker is failing with uncler message after release on non-rebased branches. Author: Vladislav Lisetskii #5452
- Add openjdk8/9 to Travis/AppVeyor. Author: Pavel Bludov #5663
- Remove usage of com.oracle.net package. Author: Pavel Bludov #5660
- generated jacoco.exec file needs to be moved out of base directory. Author: Roman Ivanov #5640
- doc: fixed improper dtd comment examples. Author: rnveach
- Fix PMD6 violations (bestpractices). Author: Pavel Bludov #5633
- spelling: Correct some words in the German translation. Author: Matthias Ronge
- Drop findbugs. Author: Pavel Bludov #5622
- Replace java.awt.event.InputEvent#getModifiers() with getModifiersEx(). Author: Pavel Bludov #5613
- doc: fixed improper private method documentation. Author: rnveach
- Use Jacoco instead of Cobertura for coverage check. Author: Pavel Bludov #5586
- doc: clearly explain commit message requirements. Author: Roman Ivanov
- Jacoco workaround for MainTest. Author: Pavel Bludov #5553
- Split pitest-checkstyle-common. Author: Pavel Bludov #5592
- Resolve all violations from SonarQube at sonarcloud.io. Author: Roman Ivanov #5604
- 100% Coverage for com.puppycrawl.tools.checkstyle.DefaultConfiguration. Author: Pavel Bludov #5591
- 100% coverage for com.puppycrawl.tools.checkstyle.XMLLogger. Author: Pavel Bludov #5597
- 100% coverage for com.puppycrawl.tools.checkstyle.Checker. Author: Pavel Bludov #5599
- New project badges at sonarcloud.io. Author: Roman Ivanov #5605
- 100% coverage for com.puppycrawl.tools.checkstyle.PackageObjectFactory. Author: Pavel Bludov #5595
- Switch to Powermock 2.0. Author: Pavel Bludov #5584
- fix indentation in all sources of xdoc. Author: Varun Upadhyay #5489
- doc: typos and grammar fixes on website main page. Author: Michael Keppler
- PackageNamesLoaderTest refactoring. Author: Pavel Bludov #5551
- Remove usage of javax.xml.bind.XmlElement (deprecated in JDK9). Author: Pavel Bludov #5582
- Refactoring of JavadocUtils static init. Author: Pavel Bludov #5555
- Switch to powermock-api-mockito2. Author: Pavel Bludov #5558
- IllegalStateException message text was changed in JDK9. Author: Pavel Bludov #5561
- upgrade to spotbugs 3.1.1 cause problems with execution on maven 3.3.9. Author: Roman Ivanov #5525
- doc: InterfaceIsType description, SwingConstants is an interface, not a class.. Author: Tobias Weimer
- Explicitly throw an exception from ClassResolver. Author: Pavel Bludov #5546
- Strive for 100% mutation coverage. Author: Roman Ivanov #3708
- minimize pitest-checkstyle-utils profile execution. Author: Roman Ivanov #4605
- pitest: increase mutation coverage for pitest-checks-coding profile to 100%. Author: Roman Ivanov #5008
- doc: extend examples for FinalLocalVariable. Author: Roman Ivanov #5239
- Remove dependency on tools.jar. Author: Pavel Bludov #5431
- Fix violations in local IntelliJ 2017.3. Author: Roman Ivanov #5409
- Intellij Idea inspection violations from 2017.2.4 or 2017.2.6. Author: Roman Ivanov #5069
- Jacoco coverage report. Author: Pavel Bludov #5516
- Use StringBuilder instead of StringBuffer as it offers high performan…. Author: reudismam #5505
- AvoidEscapedUnicodeCharactersCheck: re-organize regular expressions. Author: SunriseCoder #5427
- investigate and resolve compilation warnings. Author: Andrey Mosin #5480
- wercker build problem with hibernate-search. Author: Roman Ivanov #5499
New in Eclipse Checkstyle Plug-in 8.8 (Jan 28, 2018)
- Breaking backward compatibility:
- Split TreeWalker to TreeWalker and JavaParser. Author: Pavel Bludov #5436
- Bug fixes:
- DesignForExtension: method javadoc is recognized if no modifier in on method. Author: Roman_Zhigunov #5255
- XmlLogger sanitizes exception tags when it shouldn't be. Author: rnveach #5419
- Notes:
- spelling: Fix German translation of 'tag'. Author: Michael Keppler
- Fix violations in local IntelliJ 2017.3. Author: rnveach #5409
- Resolve warning during build about prerequisites tag. Author: Andrey Mosin #5377
- JavadocMethod: "Expected an @return tag." sounds not right. Author: Varun Upadhyay #5463
- Appveyor CI build failure: Unable to get setup from cygwin.mirror.constant.com. Author: Roman Ivanov #5474
- spelling: improve french translation. Author: Jajawah
- spelling: fix typo in tests. Author: Pavel Bludov
- spelling: Fix typo. Author: Tino Desjardins
- format xdoc files to follow rule of LineLength (max ia 100) . Author: rnveach #5291
- Incorrect documentation for SuppressionXpathFilter. Author: Timur Tibeyev #5400
- Reorganize token methods of all Checks. Author: Subbu Dantu #4581
- TokenTypes documentation contains double encoded symbols. Author: Pavel Bludov #5423
- Incorrect documentation for SingleSpaceSeparator. Author: Jun Lin #5401
- XDoc Config: create unit test to verify property types and default values for Strings. Author: rnveach #3254
New in Eclipse Checkstyle Plug-in 8.7 (Jan 3, 2018)
- Breaking backward compatibility:
- Removed guava from api code. Author: rnveach #3455
- Bug fixes:
- SuppressWithPlainTextCommentFilter: should not fail when violation is reported on directory. Author: rnveach #5405
New in Eclipse Checkstyle Plug-in 8.5 (Nov 27, 2017)
- New:
- Try to load class from all of packages as classpath scanning doesn't work in Eclipse runtime environment. Author: kazachka #4916
- Bug fixes:
- RegexpOnFilenameCheck: NullPointerException when relative path is used to run checkstyle CLI . Author: Roman Ivanov #5278
- JavadocPackage: NullPointerException when relative path is used to run checkstyle CLI. Author: Artem Dudkin #5127
- Checker.destroy doesn't erase fileSets but erases everything else. Author: rnveach #5264
- TranslationCheck prints violations from previous AbstractFileSetCheck run. Author: rnveach #5263
- Notes:
- Fix violations from new sevntu check - CheckstyleTestMakeupCheck. Author: rnveach #5228
- Doc: typo fix and extension for 'what is javadoc'. Author: Roman Ivanov
- Checkstyle UTs shouldn't create custom configuration methods. Author: rnveach #5157
- Adjacent static import groups ones became impossible in 8.3. Author: BBG #5176
- Cobertura coverage check failing on jdk 152. Author: Roman Ivanov #5283
- Remove usage of DetailAST.branchContains. Author: rnveach #5124
- Reorganize token methods of all Checks. Author: Subbu Dantu #4581
- ImportControl: unable to disallow static import. Author: Jochen Van de Velde, Roman Ivanov #4284
- Doc: Removed maxLineLength property from javadoc, the property itself had been removed earlier. Author: Balazs Nemeth
- Wercker build is unstable for htmlunit project due to SNAPSHOT dependency . Author: Roman Ivanov #5251
- Fix plural agreement grammar in documentation for DesignForExtension. Author: Jake Gage #5249
- Mark all checks with appropriate interface so that they could be used in the MT mode. Author: Andrew Kuchev #4870
New in Eclipse Checkstyle Plug-in 8.4 (Oct 30, 2017)
- Breaking backward compatibility:
- Disallowing user to use incomplete fully qualified Check names in config file. Author: BBG #4456
- JavadocTokenTypes should keep values of tokens, restore tokens as they were at 8.1 version. Author: Piyush Sharma #5139
- Remove extra numeric offset in JavadocTokenTypes. Author: Maksim Shilin #5114
- Bug fixes:
- Checkstyle produces invalid XML file. Author: rnveach #5162
- Notes:
- Fix violations from new sevntu check - CheckstyleTestMakeupCheck. Author: rnveach #5228
- Unused messages in message.properties. Author: dyominov #5094
- Two unit tests for SuppressionCommentFilterTest do not fail if CheckstyleException is not thrown. Author: rnveach #5210
- ClassFanOutComplexity for a multi-dimensional array is calculating with an error.. Author: Artem Dudkin #5134
- Remove usage of DetailAST.branchContains. Author: rnveach #5124
- Checkstyle tests should be named after the class they test and extra validations/helpers should be in a special package. Author: rnveach #5104
- Pitest: increase mutation coverage for pitest-checks-whitespace profile to 100%. Author: vasilyeva #5003
- Left curly nlow documentation error?. Author: Clément Guillaume #5188
- Create GeneratedJavadocTokenTypesTest.java. Author: Piyush Sharma #5186
- Use private final loggers instead of private static final in Checkstyle codebase. Author: crude #929
- Move DetailNodeTreeStringPrinter#createFakeBlockComment to CommonUtils. Author: Turkin Ivan #4785
- Prohibit the usage of hardcoded encoding in Checkstyle source code. Author: Artem Dudkin #5023
- Appveyor: provide ability to skip CI executions base on commit files. Author: Maksim Shilin #3870
- Reorganize token methods of all Checks. Author: Subbu Dantu #4581
- Remove deprecated class BaseCheckTestSupport. Author: Subbu Dantu #4867
- Validation by xsd during build is missed for xml files that use packages_1_0.dtd. Author: Roman Ivanov #5177
- Sonar validation failing with StackOverflowError. Author: Roman Ivanov #5175
New in Eclipse Checkstyle Plug-in 8.3 (Oct 9, 2017)
- Breaking backward compatibility:
- Uppercase letters to be allowed in package names in javadoc. Author: Piyush Sharma #4408
- Making required arguments mandatory for javadoc tags in grammar. Author: Piyush Sharma #4942
- New:
- NoWhitespaceAfter: do not allow whitespace after '@' sign. Author: Ruslan Iagudin #4410
- WhitespaceAround: Add support for varargs. Author: Ruslan Iagudin #4157
- Boolean flag in Javadoc Checks that shows a current Javadoc comment has unclosed HTML tags. Author: Piyush Sharma #3311
- Add columnCharIndex field to LocalizedMessage. Author: Timur Tibeyev #4998
- Bug fixes:
- IllegalType does not seem to handle multidimensional array types. Author: Ruslan Iagudin #4425
- No violation before or after changes for static import list. Author: BBG #5065
- Whitespace after Array type when using a type annotation. Author: Ruslan Iagudin #3300
- Google Style: Incorrect ParenPad warning. Author: Liam Miller-Cushon #4294
- NoWhitespaceBefore and empty for loop conditions. Author: Liam Miller-Cushon #5058
- Remove thread-unsafe context from the AbstractCheck class. Author: Andrew Kuchev #4908
- Fix order of message parameters in DE translation file. Author: Andreas Kurth #5068
- Issue with UnusedImports and javadoc usage.. Author: Liam Miller-Cushon #3453
- @see tag with leading asterisk before arguments lead to parse failure. Author: Piyush Sharma #5035
- FallThrough check doesn't handle synchronized blocks. Author: Liam Miller-Cushon #5037
- NoWhitespaceAfterCheck for some array initialization crashes Checkstyle. Author: Ruslan Iagudin #4557
- Notes:
- Pitest: increase mutation coverage for pitest-checks-misc profile to 100%. Author: vasilyeva, Roman Ivanov #4675
- Pull #5113: enabled eclipse compiler to flag unused exceptions . Author: rnveach #5113
- Conifg: bump maven-surefire-plugin to 2.20.1. Author: Roman Ivanov
- Support suppression-xpath element in SuppressionLoader. Author: Timur #4421
- Checkstyle tests should be named after the class they test and extra validations/helpers should be in a special package. Author: rnveach #5104
- Expand eclipse compiler to check test code. Author: rnveach #5116
- Pitest: increase mutation coverage for pitest-checks-coding profile to 100%. Author: vasilyeva #5008
- Add file-stateful and stateless / global stateful check markers. Author: Andrew Kuchev #4883
- Remove thread-unsafe context from the AbstractFileSetCheck class. Author: Andrew Kuchev #4917
- Split and Organize Checkstyle inputs by Test. Author: rnveach #3891
- Pitest: increase mutation coverage for pitest-checks-metrics profile to 100%. Author: vasilyeva #5005
- IllegalType: update documentation to make it clear that LITERAL_NEW is not a target of this Check. Author: Roman Ivanov #5129
- XpathQueryGenerator should consider tabWith parameter. Author: Timur Tibeyev #4999
- Increase coverage of JavadocParser and JavadocLexer. Author: Piyush Sharma #4769
- Doc: extend javadoc for JavadocTokenTypes.RULE_TYPES_OFFSET. Author: Roman Ivanov
- DeclarationOrder: problem with forward references. Author: kazachka #4984
- Fix up Portuguese messages. Author: Victor Williams Stafusa da Silva #5082
- Travis failing to execute some item on trusty instances. Author: Roman Ivanov #5086
- Strive for 100% mutation coverage. Author: Roman Ivanov #3708
- Eclipse validtion is failed with "The type org.eclipse.jdt.annotation.NonNull cannot be resolved". Author: Roman Ivanov #5078
- Find way to launch IntellijIdea inspections from command line. Author: vasilyeva, Roman Ivanov #4682
- Rename JavadocLexer rule to a more meaningful name. Author: Vladislav Lisetskii #5040
- Review disabled validations of eclipse compiler. Author: Roman Ivanov #5060
- Using Eclipse compiler in CI to control 0 Warning level. Author: vasilyeva, Roman Ivanov #2600
- Pitest: increase mutation coverage for pitest-checkstyle-api profile to 100%. Author: vasilyeva #4394
- Pitest: increase mutation coverage for pitest-check-annotation profile to 100%. Author: Roman Ivanov #4402
- Launch Sonarqube validation in docker in our CI for each PR validation. Author: vasilyeva #4912
- Doc: remove section about a resolved API issue. Author: Vladislav Lisetskii
- Pitest: increase mutation coverage for pitest-checks-imports profile to 100%. Author: vasylieva #5004
- Made XMLLogger writer final. Author: rnveach #5033
- Pitest: increase mutation coverage for pitest-checkstyle-utils profile to 100%. Author: vasilyeva #4395
New in Eclipse Checkstyle Plug-in 8.2 (Aug 31, 2017)
- Breaking backward compatibility:
- JavadocParser: inconsistent AST tree with and without SINGLETON_ELEMENT. Author: Piyush Sharma #3810
- move AbstractTypeAwareCheck and ClassResolver to javadoc package. Author: rnveach #4676
- remove deprecated property maxLineLength from LeftCurlyCheck. Author: rnveach #3671
- remove FileContentsHolder module as FileContents object is available for filters on TreeWalker in TreeWalkerAudit Event . Author: Timur, Roman Ivanov #3573
- Replace terms in AST Tokens by terms from HTML specification. Author: Piyush Sharma #4448
- New:
- new Check: single line annotation location. Author: kazachka #3440
- Add HTML5 tags support to Javadoc antlr4 grammar and related classes. Author: Piyush Sharma #3332
- UnnecessaryParentheses: Reject parentheses around single parameters in lambdas. Author: rnveach #4639
- Add token type to LocalizedMessage. Author: Timur #4419
- Bug fixes:
- Add (WS | NEWLINE) in proper places for javadoc tags. Author: Piyush Sharma #4934
- XMLLogger methods should be thread-safe. Author: Andrew Kuchev #4932
- Javadoc comments containing unescaped Java code with generic types leads to enormous parsing times. Author: Piyush Sharma #4390
- PackageObjectFactory can't instantiate AuditListeners. Author: rnveach #4742
- Remove thread-unsafe context from the AbstractJavadocCheck class . Author: Andrew Kuchev #4925
- SeverityLevelCounter should be thread-safe. Author: Andrew Kuchev #4927
- JavadocPackageCheck should be thread-safe. Author: Andrew Kuchev #4945
- Violations should print ID and observe them as unique. Author: Luolc #4607
- SuppressWarnings triggers RedundantModifier check on enum constructor. Author: rnveach #4846
- SummaryJavadoc: overlapping messages. Author: rnveach #4798
- Remove checkstyle_packages.xml from checkstyle. Author: rnveach #3660
- SummaryJavadoc: doesn't completely ignore inheritDoc tag. Author: rnveach #4744
- TodoCommentCheck overflows the stack for files with many comments. Author: rnveach #4563
- RegexpHeader not detecting 'nn' by regex properly. Author: Vivek Rao #4735
- ModifiedControlVariableCheck crashes for some nested loops with multiple assignments. Author: rnveach #4630
- MethodCountCheck: class counts include anonymous methods. Author: rnveach, Roman Ivanov #4539
- RequireThisCheck: NPE on method from base class with validateOnlyOverlapping off. Author: rnveach #4856
- TreeWalkerFilter needs to be added to ModuleReflectionUtils. Author: Timur #4843
- RequireThisCheck: Use and declare a local variable with same name as class variable cause a NPE. Author: rnveach #4777
- Indentation: multiple try with resource not checked. Author: Vikramaditya Kukreja #3131
- FinalLocalVariable: false-negative with anonymous class. Author: rnveach #4727
- Notes:
- pitest: increase mutation coverage for pitest-checkstyle-utils profile to 100%. Author: Roman Ivanov #4395
- pitest: increase mutation coverage for pitest-checkstyle-api profile to 100%. Author: Roman Ivanov #4394
- Remove strong, wildcard suppressions in configuration. Author: vasilyeva, Roman Ivanov #4384
- pitest: increase mutation coverage for pitest-checks-design profile to 100%. Author: vasilyeva #5007
- Remove usage of javax.xml.bind.DatatypeConverter (removed in Java 9). Author: Oliver Siegmar #5027
- shippable: unstable execution of pitest for pitest-checkstyle-common profile. Author: Andrew Kuchev, Roman Ivanov #5022
- Fix documentation for minLineCount property in JavadocMethod. Author: Ruslan Iagudin #4987
- Using Eclipse compiler in CI to control 0 Warning level. Author: vasilyeva #2600
- IllegalTypeCheck: split illegalClassNames for short names to prevent runtime modification. Author: rnveach #4947
- pitest: increase mutation coverage for pitest-checks-whitespace profile to 100%. Author: vasilyeva #5003
- pitest: increase mutation coverage for pitest-checks-sizes profile to 100%. Author: vasilyeva #4993
- MainTest.testCreateListenerWithLocationIllegalStateException isn't deleting it's test file anymore. Author: liscju #4842
- Implement xpath query generator. Author: Timur #4901
- Implement XpathFilter. Author: Timur #4422
- pitest: increase mutation coverage for pitest-checks-misc profile to 100%. Author: vasilyeva #4675
- pitest: increase mutation coverage for pitest-checks-regexp profile to 100%. Author: vasilyeva #4988
- ReturnCount: enforce max=1 over checkstyle code. Author: Roman Ivanov #3496
- pitest: increase mutation coverage for pitest-checkstyle-tree-walker profile to 100%. Author: vasilyeva #4398
- idea: fixing HtmlTagCanBeJavadocTag cause ant build error. Author: vasilyeva #4805
- AnnotationUseStyleCheck defaults: mismatch between documentation and code. Author: Stephan Schroevers #4966
- idea: fix ThisEscapedInConstructor idea violation for ImportControl class. Author: vasilyeva #4863
- idea: twelfth part of idea violations. Author: vasilyeva #4940
- resolve IDEA inspection BooleanParameter in AbstractModuleTestSupport.createChecker. Author: vasilyeva #4857
- AuditEventDefaultFormatterTest should not use PowerMockito for testing. Author: rnveach #4931
- idea: eleventh part of idea violations. Author: vasilyeva, vasylieva, Roman Ivanov #4801
- avoid boolean parameters for public methods. Author: vasilyeva #4709
- Mapper of XPath expressions onto AST nodes. Author: Timur #4369
- disallow java.util.Comparator in import-control. Author: Luolc #4907
- Custom checks broken with Checkstyle 8.0. Author: rnveach #4885
- Split BaseCheckTestSupport into AbstractPathTestSupport, AbstractModuleTestSupport, and AbstractTreeTestSupport. Author: rnveach, Subbu Dantu #4592
- idea: ninth part of idea violations. Author: vasilyeva #4707
- idea: fifth part of idea violations. Author: vasilyeva #4726
- idea: add messages to all asserts. Author: vasilyeva #4808
- wercker: NoErrorTest on sevntu with checkstyle's snapshot. Author: Roman Ivanov #4829
- Improve Error Handling for Javadoc Parsing. Author: Piyush Sharma #4717
- idea: add initial capacities to StringBuffer. Author: Roman Ivanov #4812
- pitest: increase mutation coverage for pitest-checkstyle-main profile to 100%. Author: vasilyeva #4399
- pitest: increase mutation coverage for pitest-check-annotation profile to 100%. Author: vasilyeva #4402
New in Eclipse Checkstyle Plug-in 8.1 (Jul 25, 2017)
- Breaking backward compatibility:
- Make SuppressionCommentFilter and SuppressWithNearbyCommentFilter children of TreeWalker. Author: Timur #4714
- remove AbstractComplexityCheck, AbstractIllegalCheck, AbstractIllegalMethodCheck, AbstractNestedDepthCheck. Author: vasilyeva #4749
- ImportControl: Remove deprecated 'url' property. Author: Dmytro Kytsmen #3578
- remove deprecated AbstractDeclarationCollector, AbstractFormatCheck, AbstractOptionCheck . Author: Dmytro Kytsmen #4677
- FileText should not extends AbstractList. Author: Timur #3034
- Move DetailAST log away from AbstractViolationReporter. Author: rnveach #3574
- api: LocalizedMessages class should be removed. Author: Andrei Selkin #3545
- Bug fixes:
- SummaryJavadoc: no violation on absent summary and on javadoc where '.' is used not as end of sentense. Author: Sagar #3907
- MethodCountCheck with wrong tokens crashes Checkstyle. Author: rnveach #4556
- UnusedImportsCheck does not detect parameter types in javadoc block tags. Author: Brent Plump #4606
- UnusedImports processJavadoc fails with javadoc tags that span lines. Author: Nathan Naze #2840
- some messages are still hardcoded in english. Author: Subbu Dantu #3110
- EmptyBlock: NPE on annotation declaration. Author: Andrew Kuchev #4472
- Notes:
- idea: tenth part of idea violations. Author: vasilyeva, vasylieva #4725
- idea: sixth part of idea violations. Author: vasilyeva #4724
- idea: seventh part of idea violations. Author: vasilyeva #4722
- idea: fifth part of idea violations. Author: vasilyeva #4726
- idea: eleventh part of idea violations. Author: vasilyeva #4801
- Split BaseCheckTestSupport into AbstractPathTestSupport, AbstractModuleTestSupport, and AbstractTreeTestSupport. Author: Subbu Dantu #4592
- pitest: increase mutation coverage for pitest-check-header profile to 100%. Author: vasilyeva #4401
- activate IntellijIdea inspection InterfaceMayBeAnnotatedFunctional. Author: vasilyeva #3435
- idea: ninth part of idea violations. Author: vasilyeva #4707
- spelling: Fix German translation. Author: FriedrichFroebel
- Increase coverage of JavadocParser and JavadocLexer. Author: Vladislav Lisetskii #4769
- idea: third part of violations. Author: vasilyeva #4713
- idea: fourth part of idea violations. Author: vasilyeva #4723
- Split and Organize Checkstyle inputs by Test for checks in 'regexp' package . Author: Dmytro Kytsmen #4585
- spelling: fix typo in docs. Author: Vladislav Lisetskii
- add vavr library to our regression testing. Author: Roman Ivanov #4363
- pitest: increase mutation coverage for pitest-checkstyle-filters profile to 100%. Author: vasilyeva #4396
- pitest: increase mutation coverage for pitest-checkstyle-api profile to 100%. Author: vasilyeva, vasylieva #4394
- idea: second part of violations. Author: vasilyeva #4708
- Enable IntellijIdea inspection: 'throw' inside 'finally' block. Author: vasilyeva #3301
- idea: eights part of idea violations. Author: vasilyeva #4711
- MT mode: Intelllij inspection violations. Author: Andrew Kuchev #4700
- Split and Organize Checkstyle inputs for MainTests to 'main' folder. Author: Dmytro Kytsmen #4588
- UniquePropertiesCheck.getLineNumber should be private. Author: BBG #4694
- suppress NewlineAtEndOfFile on all internal javadoc files. Author: Dmytro Kytsmen #4702
- Split and Organize Checkstyle inputs by Test for checks in 'ant' package. Author: Subbu Dantu #4686
- Split and Organize Checkstyle inputs by Test for checks in header package. Author: BBG, Dmytro Kytsmen #4365
- review all suppressed IntellijIdea inspections with comment 'till ...'. Author: Roman Ivanov #4681
- Split and Organize Checkstyle inputs by Test for checks in 'javadoc' package . Author: BBG #4586
- LeftCurlyCheck: clarify behavior of 'nlow' option after removal of 'maxLineLength'. Author: Roman Ivanov #3855
- Avoid usage of getLines method from FileText. Author: Timur #4641
- reevaluate tokens in google config for SeparatorWrapCheck. Author: kazachka #3752
- pitest: increase mutation coverage for pitest-checks-misc profile to 100%. Author: Roman Ivanov #4675
- Split and Organize Checkstyle inputs by Test for checks in 'checks' package . Author: Dmytro Kytsmen #4587
- pitest: increase mutation coverage for pitest-checkstyle-tree-walker profile to 100%. Author: rnveach, vasilyeva #4398
- pitest: increase mutation coverage for pitest-checkstyle-main profile to 100%. Author: vasilyeva #4399
- ConfigurationLoaderTest::testIncorrectTag is flaky. Author: rnveach #4664
- pitest: increase mutation coverage for pitest-checkstyle-utils profile to 100%. Author: vasilyeva #4395
- pitest: increase mutation coverage for pitest-checkstyle-common profile to 100%. Author: vasilyeva, vasylieva #4400
- refactoring: CodeSelectorPModel do double copy of collectio in c-tor. Author: Dmytro Kytsmen #3555
- Split and Organize Checkstyle inputs by Test for checks in 'metrics' package . Author: Subbu Dantu #4575
- Restore wercker CIs that have custom Checks. Author: rnveach #4582
- Fix PMD violations for test code in Checkstyle. Author: vasylieva #877
- Build fails on cobertura:check goal. Author: Roman Ivanov #4450
- Add multi thread mode to checkstyle launcher. Author: Andrew Kuchev #4370
New in Eclipse Checkstyle Plug-in 8.0 (Jul 3, 2017)
- Breaking backward compatibility:
- api changes: make getAcceptableTokens/getRequiredTokens/getDefaultTokens methods as abstract in Check.java. Author: rnveach #605
- deprecate Checker.setClassloader , replace with Checker.setClassLoader. Author: Roman Ivanov #922
- Remove deprecated Check class. Author: rnveach #4541
- CheckstyleAntTask: substitude setConfig(File) with setConfig(String). Author: Michael Diamond #4449
- remove deprecated getFilename menthod from FileContents. Author: Subbu Dantu #3666
- rename STMT in BlockOption class to STATEMENT. Author: Subbu Dantu #4035
- Remove unnecessary text from Javadoc tokens. Author: Piyush Sharma #3796
- Cache conflict between Maven/Ant and Eclipse/CLI run. Author: rnveach #3566
- New:
- MethodCountCheck: add ANNOTATION_DEF to toknes to avoid NPE. Author: Roman Ivanov #4534
- Bug fixes:
- some messages are still hardcoded in english. Author: Subbu Dantu, Roman Ivanov #3110
- MethodCountCheck: wrong counting with nested interface definition. Author: rnveach #4540
- Indentation: custom annotation not checked. Author: Vikramaditya Kukreja #3134
- Javadoc is not parsed correctly in files with only CR newlines. Author: Piyush Sharma #2329
- CLI Javadoc tree printing does not check placement of Javadoc. Author: Piyush Sharma #4405
- Javadoc parser: custom tags content should not be parsed as HTML. Author: Piyush Sharma #4164
- Notes:
- pmd: fix all the remained. Author: vasilyeva #4567
- Localized UTs are not stable on Travis. Author: Roman Ivanov #4316
- Add since version to Checkstyle documentation. Author: rnveach #4475
- Fix PMD violations for test code in Checkstyle. Author: vasilyeva, vasylieva #877
- Split and Organize Checkstyle inputs by Test for checks in 'indentation' package. Author: Subbu Dantu #4538
- Use Spotbugs tool in our build process. Author: vasylieva #4373
- pmd: enable validation on IT java sources. Author: vasilyeva, vasylieva #4500
- upgrade maven-pmd-plugin to version 3.8. Author: vasylieva #4342
- Split and Organize Checkstyle inputs by Test for checks in imports package. Author: Subbu Dantu #4437
- Refactor Javadoc AST Tests. Author: Piyush Sharma #4381
- pmd: fix JUnitAssertionsShouldIncludeMessage violations in test classes. Author: vasilyeva #4516
- pmd: fix TestClassWithoutTestCases violations in test classes. Author: vasilyeva #4518
- pmd: fix UselessOverridingMethod violations in test classes . Author: vasilyeva #4488
- pitest: increase mutation coverage for pitest-checkstyle-utils profile to 100%. Author: vasilyeva, vasylieva #4395
- refactoring: remove 'final' modifier from all arguments of method/c-tor at ImportControlCheck and around. Author: sharang108 #4353
- pmd: fix AppendCharacterWithChar violations in test classes. Author: vasylieva #4494
- pmd: fix InsufficientStringBufferDeclaration violations in test classes. Author: vasylieva #4491
- pmd: fix UncommentedEmptyMethodBody violations in test classes. Author: vasylieva #4495
- pmd: fix LoggerIsNotStaticFinal violations in test classes. Author: vasylieva #4490
- pmd: fix NcssMethodCount violations in test classes. Author: vasylieva #4496
- pmd: fix JUnit4TestShouldUseTestAnnotation violations in test classes. Author: vasylieva #4489
- pmd: fix ConfusingTernary violations in test classes. Author: vasylieva #4493
- pmd: fix CommentDefaultAccessModifier violations in test classes. Author: vasylieva #4492
- pmd: fix CheckstyleCustomShortVariable violations in test classes. Author: vasylieva #4497
- pitest: increase mutation coverage for pitest-checkstyle-common profile to 100%. Author: vasilyeva, vasylieva, Roman Ivanov #4400
- pitest: increase mutation coverage for pitest-checkstyle-api profile to 100%. Author: vasylieva #4394
- pitest: increase mutation coverage for pitest-checkstyle-tree-walker profile to 100%. Author: vasilyeva #4398
- Split and Organize Checkstyle inputs by Test for checks in header package. Author: sharang108 #4365
New in Eclipse Checkstyle Plug-in 7.8.2 (Jun 19, 2017)
- Bug fixes:
- Simple name conflict of Checks from thirdparty checks will cause exception in run time. Author: Luolc, Roman Ivanov #4414
- 3rd party root modules not finding by simple name. Author: rnveach #4417
- ASTs should be appended with comment nodes only when javadoc checks are present. ASTs shouldn't be walked if there are no corresponding types of checks. Author: Piyush Sharma #4393
- Notes:
- SummaryJavadoc: no violation on javadoc where '.' is used not as end of sentense (fixes in javadoc files only). Author: sagar-shah94 #3907
- Split and Organize Checkstyle inputs by Test for checks in imports package. Author: Subbu Dantu #4437
- Unstable TreeWalkerTest during coverage execution. Author: Piyush Sharma #4445
- spelling: fix spelling of name McConnell. Author: Ryan P.C. McQuen
- pitest: increase mutation coverage for pitest-checkstyle-utils profile to 100%. Author: vasilyeva #4395
- Design a new format of suppression dtd schema to support XPath queries. Author: Timur #4364
- Split and Organize Checkstyle inputs by Test for checks in modifier package. Author: Subbu Dantu #4431
- pitest: increase mutation coverage for pitest-checkstyle-common profile to 100%. Author: vasilyeva #4400
- pitest: increase mutation coverage for pitest-check-header profile to 100%. Author: vasilyeva #4401
New in Eclipse Checkstyle Plug-in 7.8.1 (Jun 5, 2017)
- Bug fixes:
- Problem with usage of third-party Check libraries and checkstyle 7.8. Author: rnveach, Roman Ivanov #4387
- Notes:
- Pitest: increase mutation coverage for pitest-check-annotation profile to 100%. Author: vasilyeva #4402
- Pitest: create profile for non-checks code . Author: vasilyeva #4367
New in Eclipse Checkstyle Plug-in 7.8 (May 29, 2017)
- New:
- ImportControl: new strategyOnMismatch property to xml file structure. Author: Tima #4274
- NoWhitespaceAfter: add support for method reference operator (new Acceptable token). Author: Dmytro Kytsmen #3950
- LocalFinalVariableName: not validating try-with-resource variables (new Acceptable token). Author: vasilyeva #3348
- IllegalImport: new property illegalClasses to let blacklist certain classes import. Author: Tima #3449
- ExplicitInitialization: new property 'onlyObjectReferences'. Author: Subbu Dantu #2399
- Bug fixes:
- Javadoc parser: Package names should permit digits in their name. Author: Piyush Sharma #4349
- Expand exception violation when haltOnException is off. Author: rnveach #4350
- CacheFile: violation on external resource will invalidate entire cache even if no changes are made. Author: rnveach #4101
- RequireThis: False positive for lambda parameters. Author: Piyush Sharma #4207
- Notes:
- Bump version for sevnu-checkstyle. Author: Roman Ivanov
- Publish all dtd schemas to sourceforge site automatically. Author: Andrei Selkin, Roman Ivanov #4341
- Use reflection to load Checks base on checkstyle_packages.xml. Author: Luolc #3607
- Upgrade maven-pmd-plugin to version 3.8. Author: Dmytro Kytsmen #4342
- Split and Organize Checkstyle inputs by Test for checks in coding package. Author: slava ganyaev, Dmytro Kytsmen #4165
- ImportControl: blacklist mode. Author: Tima #3451
- Localized UTs are not stable on Travis. Author: Roman Ivanov #4316
- Moved more variables inside if blocks to reduce execution. Author: rnveach #4343
- Spelling: Improve grammar of usage.distance.extend. Author: Jaron Thatcher
- Split and Organize Checkstyle inputs by Test for checks in annotation package. Author: Dmytro Kytsmen #4313
- Revert "Revert "config: bump maven-surefire-xxxxxx to 2.20" due to unstable locale UTs #4316". Author: Roman Ivanov
- Moved variables inside if blocks to reduce execution time. Author: rnveach #4328
- Doc: add link to contributing instructions to CONTRIBUTING.md. Author: Nathan Naze
- Split and Organize Checkstyle inputs by Test for checks in design package. Author: Dmytro Kytsmen #4314
- Split and Organize Checkstyle inputs by Test. Author: Dmytro Kytsmen #3891
- Wercker CI is unstable while cloning repositories. Author: Roman Ivanov #4329
- Revert "config: bump maven-surefire-xxxxxx to 2.20" due to unstable locale UTs #4316. Author: Roman Ivanov
- Split and Organize Checkstyle inputs by Test for PackageName. Author: Dmytro Kytsmen #4172
- Split and Organize Checkstyle inputs by Test for MemberName. Author: Dmytro Kytsmen #4151
- Split and Organize Checkstyle inputs by Test for MethodName. Author: Dmytro Kytsmen #4158
- Move all dtd schemas to sourceforge site. Author: Andrei Selkin #1571
New in Eclipse Checkstyle Plug-in 7.7 (May 2, 2017)
- New:
- Ant: accept path in addition to fileset option. Author: Andrew Kuchev #3312
- SeparatorWrap: add support for method reference operator. Author: Luolc #3951
- NoWhitespaceBefore: add support for method reference operator. Author: Dmytro Kytsmen #3949
- RightCurlyCheck: add support for lambda. Author: Vladislav Lisetskii #3546
- ParenPad: thinks precedence parens are a METHOD_CALL instead of an EXPR, new token TokenTypes.DOT should be supported. Author: Subbu Dantu #3048
- DefaultComesLast: new option skipIfLastAndSharedWithCase to raise violation if default doesn't share case. Author: Sagar #4078
- ClassDataAbstractionCoupling and ClassFanOutComplexity: property to exclude packages. Author: Andrew Kuchev #3309
- ClassDataAbstractionCoupling : Add a excludeClassesRegexps property . Author: Tima #3234
- Bug fixes:
- NPathComplexity ignores multi-part boolean expressions . Author: kazachka #56
- ArrayTrailingComma: Extra coma is required in multiline array value. Author: Vladislav Lisetskii #1509
- EmptyBlock should process LITERAL_DEFAULT. Author: Piyush Sharma #4159
- Take "break" into consideration in FinalLocalVariable. Author: Luolc #4082
- RequireThis treats local variables as properties. Author: Piyush Sharma #3423
- Exception message not informative enough for users on incorrect parent. Author: Subbu Dantu #2186
- EmptyBlock: can't get violation from case token. Author: Piyush Sharma #3839
- RightCurly: False negative on multiblock tokens with ALONE_OR_SINGLELINE option. Author: Vladislav Lisetskii #4091
- Notes:
- Split and Organize Checkstyle inputs by Test for InterfaceTypeParameterName. Author: Dmytro Kytsmen #4142
- ReturnCount: enforce max=1 over checkstyle code. Author: Vladislav Lisetskii #3496
- Split and Organize Checkstyle inputs by Test in the blocks package. Author: Subbu Dantu, Dmytro Kytsmen #4220
- Split and Organize Checkstyle inputs by Test for ClassTypeParameterName. Author: Dmytro Kytsmen #4137
- Split and Organize Checkstyle inputs by Test for CatchParameterName. Author: Dmytro Kytsmen #4136
- Split and Organize Checkstyle inputs by Test for ConstantName. Author: Dmytro Kytsmen #4141
- Split and Organize Checkstyle inputs by Test for checks in coding package. Author: slava ganyaev, Dmytro Kytsmen #4165
- Split and Organize Checkstyle inputs by Test for SingleSpaceSeparator. Author: Jun Lin #4080
- Fix new TeamCity violations. Author: Roman Ivanov #4250
- spelling: unify THIRDPARTY_PACKAGE into THIRD_PARTY_PACKAGE. Author: Yusuke Matsubara
- Split and Organize Checkstyle inputs by Test for NoLineWrap. Author: Dmytro Kytsmen 933
- Split and Organize Checkstyle inputs by Test for OuterTypeNumber. Author: Dmytro Kytsmen #4043
- Split and Organize Checkstyle inputs by Test for ParentPad. Author: Dmytro Kytsmen #4062
- Split and Organize Checkstyle inputs by Test for StaticVariableName. Author: Akshita #4208
- Split and Organize Checkstyle inputs by Test for NoWhitespaceAfter. Author: Dmytro Kytsmen #3931
- Expand missing testing for PropertyCacheFile tests. Author: Andrei Selkin #3650
- Adding IDEA project files to gitignore and excluding them from checkstyle list. Author: Tima #4209
- Split and Organize Checkstyle inputs by Test for MethodTypeParameterName. Author: Janine Freitas #4168
- Split and Organize Checkstyle inputs by Test for ParameterName. Author: Shubham Kumar #4191
- Add suppression of .DS_Store for NewlineAtEndOfFile. Author: Luolc #4176
- Split and Organize Checkstyle inputs by Test for WhitespaceAround. Author: Dmytro Kytsmen #3898
- Verifying tokens in checkstyle config handles default tokens wrong. Author: rnveach #4119
- spelling: fix grammar in messages.properties for indentation package. Author: Vladislav Lisetskii
- Javadoc for try-with-resources tokens is not good enough. Author: Subbu Dantu #2899
- Split and Organize Checkstyle inputs by Test for FileTabCharacter. Author: Dmytro Kytsmen #3959
- Fix new TeamCity violations. Author: Vladislav Lisetskii #3616
- Split and Organize Checkstyle inputs by Test for LocalVariableName. Author: Dmytro Kytsmen #4150
- Formatting issue in documentation. Author: sagar shah #3902
- doc: fix documentation for METHOD_REF token. Author: Subbu Dantu
- Split and Organize Checkstyle inputs by Test for LocalFinalVariableName. Author: kurileo #4144
- Split and Organize Checkstyle inputs by Test for NoWhitespaceBefore. Author: Subbu Dantu #3930
- Enforce EndOfLine symbols at the end of all files in checkstyle repository. Author: Vikramaditya Kukreja #3072
- Split and Organize Checkstyle inputs by Test. Author: slava ganyaev #3891
- Split and Organize Checkstyle inputs by Test for ParameterNumber. Author: GabrielBercaru #4090
- RightCurly: update documentation for singleline statements with SAME option. Author: Vladislav Lisetskii #4085
- spelling: fix typos in tests. Author: Vladislav Lisetskii
- spelling: fix typos in xdocs. Author: Vladislav Lisetskii
- Fix typo in @serialField javadoc tag validation. Author: Vladislav Lisetskii #4126
- spelling: fix some typos in code/javadoc/comments. Author: Vladislav Lisetskii
- Split and Organize Checkstyle inputs by Test for AbstractClassName. Author: vasilyeva #4106
- pitest: skip Uts execution as pitest do this for wihtou mutation mode. Author: Roman Ivanov #4104
- changed loops to end execution early. Author: rnveach #4102
- Split and Organize Checkstyle inputs by Test for LineLength. Author: MikhailovOlegM #4013
- Grammar mistakes in PULL_REQUEST_TEMPLATE.md. Author: unrealwork #4098
New in Eclipse Checkstyle Plug-in 7.6.1 (Mar 27, 2017)
- Bug fixes:
- SummaryJavadoc: need special processing of inheritDoc tag. Author: Sagar #3908
- Indentation check fails for Line Wrapped Anonymous Inner Class with LCurly on newline. Author: Andrew Kuchev #3612
- Regression false-positive FinalLocalVariable. Author: Luolc #3172
- ImportControlLoader does not close InputStream and leaks filehandles when xml is malformed. Author: Giorgos Gaganis #3962
- RightCurly: ALONE option doen't work for a singleline IF. Author: Andrei Selkin #4044
- Test failed due to locale message settings. (with non-English locale settings). Author: Luolc #3896
- Control Characters are not skipped with google_checks config. Author: Luolc #3700
- WhitespaceAfterCheck: problem with multiline typecast. Author: Andrew Kuchev #3850
- try to avoid non jdk runtime exceptions in code. Author: Vladislav Lisetskii #3763
- Notes:
- README: broken link. Author: unrealwork #4093
- Wrong German translation of declaration.order.access in messages_de.properties. Author: sirdis #4081
- Perform refactoring of AnnotationLocationCheck to increase code readability. Author: Andrei Selkin #4055
- google_checks: update to most recent version of style guide ( Feb 28, 2017 ). Author: Roman Ivanov #3888
- spelling: fix spelling and punctuation in comments (RightCurly). Author: Andrei Selkin
- google_checks: update to most recent version of style guide (3 November 2016). Author: Andrei Selkin #3755
- NPath for empty block is 1. Author: Roman Ivanov #4045
- Add new setting in Beginning Development for IDEA docs. Author: Vikramaditya Kukreja #4030
- doc: fix typos in Travis PR validation messages. Author: Vladislav Lisetskii
- UTs should not use ROOT locale when they test violation/error message . Author: Luolc #3989
- wercker ci should have most of testing launches on real code to shorten time of Travis execution. Author: Roman Ivanov #3798
- Split and Organize Checkstyle inputs by Test for SeparatorWrap. Author: Sagar #3904
- doc: update documentation for usage of "period" property at SummaryJavadoc . Author: Sagar #3906
- spelling: corrected sentence. Author: Sagar
- EmptyLineSeparator check not enforcing empty line after class def, enum def or interface def tokens. Author: Roman Ivanov #3089
- spelling: change 'suite' to 'suit'. Author: ljacqu
- WritingChecks: add documentation on java grammar. Author: Sagar #3883
- expand documentation on METHOD_REF token. Author: Luolc #3731
- circleci: provide ability to skip CI executions base on commit files. Author: Vladislav Lisetskii #3869
- RequireThisCheck is not fully covered with UTs. Author: Andrei Selkin #3848
- spelling: fix typo in documentation. Author: Craig P. Motlin
- Code coverage is not working for certain classes in checkstyle. Author: Andrei Selkin #3843
- Travis faliure: "sonatype-nexus-staging not found" during release. Author: Roman Ivanov #3868
New in Eclipse Checkstyle Plug-in 7.6 (Mar 16, 2017)
- New:
- add allowEmptyCatches parameter to WhitespaceAroundCheck. Author: liscju #3841
- NoWhitespaceBefore: Add support for varargs. Author: Robert Painsi #3718
- Google style: allow single character variables. Author: Andrei Selkin #3702
- NPathComplexityCheck: set of tokens should not be customizable by user. Author: kazachka #3797
- Bug fixes:
- DesignForExtension: order of annotations change violation. Author: Andrei Selkin #3830
- AbbreviationAsWordInName: confusing violation message. Author: rnveach #3721
- Fix AbstractTypeAwareCheck when dealing with nested interfaces. Author: rnveach #3835
- IllegalTokenText in google_checks should not has BACKSPACE character . Author: rnveach #3701
- IndentationCheck: catch child indentation not checked. Author: rnveach #3803
- Indentation: Annotation with RParen on new line when followed by other annotations causes invalid expectation. Author: shawn.kovalchick #3733
- Notes:
- Code coverage is not working for certain classes in checkstyle. Author: Andrei Selkin #3843
- ImportControl: improve xdoc documentation. Author: Jochen Van de Velde #2935
- reevaluate tokens in IllegalTokenText. Author: Vladislav Lisetskii #3729
- reevaluate 'default' and 'case' in google config for EmptyBlock. Author: rnveach #3748
- reevaluate tokens in checkstyle config for NeedBraces. Author: rnveach #3735
- Config: forbid assert token by Illegal token Check. Author: rnveach #3751
- reevaluate tokens in google config for OperatorWrapCheck. Author: rnveach #3749
- messages_ja.properties contains funny (wrongly machine-translated) messages. Author: SATO Yusuke #3831
- config: Remove redundant and incorrect rules from import control configuration. Author: Jochen Van de Velde #3736
- travis should skip execution if configs of other CIs are changed. Author: Roman Ivanov #3818
- doc: Add notes on import control config for inner classes. Author: Jochen Van de Velde
- Rename method in CheckUtil. Author: Vladislav Lisetskii #3820
- wercker ci should have most of testing launches on real code to shorten time of Travis execution. Author: Roman Ivanov #3798
- Typo in website documentation for JavadocMethod.. Author: Roman Ivanov #3800
- doc: Known API issues was added to reference #3810. Author: Roman Ivanov
New in Eclipse Checkstyle Plug-in 7.5.1 (Feb 18, 2017)
- Bug fixes:
- PackageObjectFactory hides real exception. Author: rnveach #3778
- RightCurly: handling of try-with-resources on several lines with CS 7.5. Author: rnveach, Roman Ivanov #3776
- Notes:
- Add the Hibernate Search project to the Checkstyle CI. Author: Roman Ivanov #3790
New in Eclipse Checkstyle Plug-in 7.5 (Feb 18, 2017)
- Breaking backward compatibility:
- ParameterName: deprecate 'scope' and 'excludeScope' properties, introduce new property 'accessModifiers'. Author: Andrei Selkin #3675
- New:
- Ant: Cannot override default Checker. Author: rnveach #3530
- ImportControl should have property which allows to validate specified file path. Author: Jochen Van de Velde #3462
- Bug fixes:
- NullPointerException in AbstractHeaderCheck when cache file specified and no header file. Author: rnveach #3771
- RequireThisCheck doesn't see outer classes for anonymous classes. Author: Vladislav Lisetskiy #3041
- NPE on type parameter annotations for this. Author: Markus Rathgeb #3732
- UnusedImports behaviour is different from documentation. Author: Andrei Selkin #3741
- Javadoc: Column number of DetailNode is always 0 for first line. Author: kazachka #3507
- FallThrough check doesn't correctly handle try-with-resources. Author: rnveach #3509
- RedundantModifier: no violation on final enum field methods. Author: rnveach #3582
- NPE in RightCurly with LITERAL_DO on do-while without curly braces. Author: rnveach #3681
- Notes:
- reevaluate tokens in google config for NeedBracesCheck. Author: rnveach #3753
- refactoring: RightCurlyCheck code expression. Author: rnveach #3764
- Verify tokens in google config. Author: rnveach #3740
- Verify tokens in checkstyle config. Author: rnveach #3720
- Strive for 100% mutation coverage. Author: rnveach, Roman Ivanov #3708
- doc: Fix typo in config_imports.xml. Author: Jochen Van de Velde
- Investigate pitest tool. Author: Roman Ivanov #3271
- add pgjdbc project at NoErrorTest group of tests . Author: Roman Ivanov #3670
- use shippable CI in testing. Author: Oleg Efremenkov #3316
- doc: fix the escaping of AvoidEscapedUnicodeCharactersCheck's javadocs. Author: Michael Diamond
- use new checks and new properties from sevntu.checkstyle project . Author: rnveach #3064
- CI special phase to enforce 644 permissions on all files. Author: Roman Ivanov, MaksimP #3683
- create xdoc for FileContentsHolder. Author: rnveach #3664
- doc: Fix incorrect documentation for SuppressWithNearbyCommentFilter. Author: Charlie Pai
- doc: how to generate sources after import project to IntelijIdea. Author: Roman Ivanov
New in Eclipse Checkstyle Plug-in 7.4 (Jan 10, 2017)
- NEW:
- Support LITERAL_SYNCHRONIZED token for NoWhitespaceAfter Rule. Author: rnveach #2803
- google_checks.xml : NO space is allowed method method name and its arguments. Author: rnveach #2809
- Support more tokens in WhitespaceAfter check. Author: MaksimP #3333
- Checker: option to allow printing exception as violation and continue execution. Author: rnveach #3611
- ImportControl: allow to load files from resources. Author: Jochen Van de Velde #3450
- BUG FIXES:
- NullPointerException when using NeedBraces with tokens LITERAL_CASE, LITERAL_DEFAULT. Author: liscju #3655
- CustomImportOrder should check that import groups are separated by one line only. Author: kazachka #3551
- RightCurly was misconfigured in google_checks.xml for do-while blocks. Author: Roman Ivanov #3678
- keep a map of Check name and it package in source to avoid brute force load by PackageObjectFactory from all packages. Author: Vladislav Lisetskii #3184
- Duplicated Checks in google_checks.xml config should have "id". Author: Roman Ivanov #3662
- skip unnecessary exception 'Severity not set, ignoring exception'. Author: Roman Ivanov #3657
- EmptyLineSeparator causing violation in `package-info.java`. Author: kazachka #3426
- FinalLocalVariable should not to check multi-catch variables. Author: liscju #3617
- ImportOrder: Check that import groups aren't separated internally. Author: linelect #2143
- NOTES:
- update documentation about getAcceptableTokens for javadoc Checks. Author: Roman Ivanov #3672
- update documentation for VariableDeclarationUsageDistance with allowedDistance = 0. Author: Roman Ivanov #3665
- Module term and usage is confusing in test area. Author: rnveach #3667
- Using the SPDX identifier for the license name. Author: Robert Reiz #3653
- XDoc: extend validation to Checker and TreeWalker. Author: rnveach #3622
- travis: use standalone shell files . Author: Roman Ivanov #3632
- CustomImportControl bad document examples that could lead to false positive on 'special group'. Author: Roman Ivanov #3590
- Add new Sevntu checks and create UT for missing checks. Author: Roman Ivanov #3628
- repo files should not have execute permissions. Author: MaksimP #3600
- use shippable CI in testing. Author: Oleg Efremenkov #3316
- 100% UT coverage for ParseTreeTablePModel.java. Author: Saideep, Roman Ivanov #3606
- Set Load external DTD feature to be enabled. Author: Aurimas Liutikas #3605
- Modules and XDocs: change setter methods to recieve similar types with field type for easier xdoc validation (more 2). Author: rnveach #3575
- ImportControl: Deprecate 'url' property in favor of the 'file' property. Author: Jochen Van de Velde #3584
- Unexpected loss of coverage for PropertyCacheFile.java. Author: Roman Ivanov #3594
- Update ISSUE_TEMPLATE.md. Author: Roman Ivanov
- refactoring to ImportControlCheck . Author: kazachka #3498
- ThreadLocal usage in single threaded checkstyle. Author: Vladislav Lisetskii #2992
- Detect final methods in Enumeration for RedundantModifier. Author: rnveach #2068
New in Eclipse Checkstyle Plug-in 7.3 (Dec 6, 2016)
- BREAKING BACKWARD COMPATIBILITY:
- Javadoc grammar: Delete child nodes in Javadoc TEXT node. Author: rnveach #3170
- NEW:
- Update Google style coverage to state of 12 July 2016. Author: alberto.cuda #3381
- Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation . Author: rnveach #3255
- CLI: Cannot override default Checker. Author: rnveach #3515
- ParameterNameCheck: new scope and excludeScope properties . Author: alberto.cuda #3473
- google_checks.xml CustomImportOrder problem. Author: Andrei Selkin #941
- BUG FIXES:
- GUI: Add support of DetailNode objects in CodeSelector. Author: kazachka #3432
- GUI: Inconsistency in AST structure for block-comments. Author: kazachka #3445
- Checker Cache not saving files that have suppressed violations. Author: rnveach #3488
- NOTES:
- ImportOrder: checkstyle_checks.xml does not have separate "java" group. Author: linelect #3577
- doc: fix broken link to file filters page. Author: Ken Geis
- use ForbidAnnotationElementValueCheck from sevntu.checkstyle. Author: rnveach #3567
- Turn on Config Cache File Locally for Developers. Author: rnveach #3487
- document isCommentNodesRequired method in xdoc. Author: Roman Ivanov #3561
- Checkstyle tests should not require internet. Author: rnveach #3536
- doc: note was placed to TranslationCheck that it has problems with Checker cache. Author: Roman Ivanov
New in Eclipse Checkstyle Plug-in 7.2 (Oct 31, 2016)
- NEW:
- DesignForExtension: consider overridable methods and javadoc. Author: Andrei Selkin #3102
- ImportControl: allow regex in subpackage elements.. Author: Volker Boerchers #2999
- Allow WhitespaceAround for ARRAY_INIT token. Author: zenigata #3202
- BUG FIXES:
- Inconsistency in AST tructure for block-comments. Author: kazachka #3431
- Checker Cache invalidated falsely on load in second run due to external resources. Author: rnveach #3489
- Wrong warning from AvoidEscapedUnicodeCharacters. Author: Dzmitry Rusak #3476
- Add METHOD_REF to the list of valid tokens for OperatorCheck. Author: alberto.cuda #3472
- DetailAST should invalidate childCount cache. Author: rnveach #3486
- DetailAST should invalidate its methods cache (aka lazy-load). Author: Andrei Selkin #3466
- NOTES:
- Rename PkgControl to ImportControl. Author: Jochen Van de Velde #3514
- split Guard class into two. Author: Jochen Van de Velde #3497
- openjdk8/9 test code should be parseable by checkstyle . Author: Roman Ivanov #3033
- use shippable CI in testing. Author: Roman Ivanov #3316
New in Eclipse Checkstyle Plug-in 7.1.2 (Oct 18, 2016)
- Bug fixes:
- Wrong order of "default" method modifier. Author: alberto.cuda #3471
- EqualsHashCode: hashCode without equals is not a violation. Author: rnveach #3308
- Notes:
- Revert "Pull #3162: Update version of commons-collections to 3.2.2 to fix security vulnerability CVE-2015-6420". Author: Roman Ivanov
- Cut down on Checkstyle's dependencies on Guava. Author: Andrei Selkin #3433
- doc: fixed the wording in javadoc for TrailingCommentCheck. Author: José Castro
- doc: added missing slash to backport documentation url (#3457). Author: rnveach
- doc: added links to cs backport jre6 (#3447). Author: rnveach
- Replace line-based suppressions with inline ones for Checkstyle's suppressions.xml. Author: Andrei Selkin #2226
- Update Checkstyle GUI in order to display Javadoc tokens. Author: Baratali Izmailov #408
- Fix ForbidCertainImports config. Author: Andrei Selkin #3412
- use CyclomaticComplexity.switchBlockAsSingleDecisionPoint in checkstyle_checks.xml. Author: Andrei Selkin #2874
- SuppressCommentFilter not working with ClassDataAbstractionCoupling when specified on class. Author: Andrei Selkin #977
- Resolve IntelijIdea inspection violations for java8. Author: Mariia Mykhailova #3233
- Replace Guava's Joiner with Java 8 native approach. Author: Andrei Selkin #3406
- Fix grammar in issue templates. Author: Roman Ivanov #3428
- spelling: PR instructions, YOU --> YOUR. Author: Elliotte Rusty Harold
New in Eclipse Checkstyle Plug-in 7.1.1 (Sep 6, 2016)
- Bug fixes:
- EqualsHashCode: hashCode without equals is not a violation. Author: rnveach
- RedundantModifier : missed violations at interface and abstract class methods signatures with final parameters. Author: rnveach
- Notes:
- Remove usage of System.out.println in IT resources. Author: Andrei Selkin
- Flaws in German translation. Author: Claas Augner
- Add NonDex tool to pom.xml and .travis.yml. Author: Ben Lambeth
New in Eclipse Checkstyle Plug-in 7.1 (Aug 1, 2016)
- NEW:
- new CLI option: exclude directories. Author: rnveach #3287
- ImportOrder: make static imports ordering as in Eclipse. Author: Andrei Selkin #3101
- BUG FIXES:
- Indentation: incorrect expectation for wrapped arguments of chained calls. Author: Kevin Conaway #3208
- RedundantModifier: miss violation on extra final in try-with-resources. Author: rnveach, Roman Ivanov #3323
- RequireThisCheck: false positive on static field. Author: rnveach #3335
- FinalLocalVariable: false positive when variable is assigned inside and outside switch-block. Author: Andrei Selkin #3074
- RequireThisCheck: NPE when surrounded by braces. Author: rnveach #3334
- NOTES:
- IndentationCheckTest makes assumption about the order of HashMap. Author: Ben Lambeth #3369
- Create web-page with instructions: how to create Javadoc Check. Author: Baratali Izmailov, Roman Ivanov #410
- Update releasenotes generation. Author: Vladislav Lisetskii #3350
- Update releasenotes generation. Author: Vladislav Lisetskii #3349
- Update PULL_REQUEST_TEMPLATE.md. Author: Roman Ivanov
- doc: Fix JavaDoc comments (#3338). Author: Michael Simons
- Online docs: AST example for LITERAL_DO is missing the DO_WHILE node. Author: Roman Ivanov #3209
New in Eclipse Checkstyle Plug-in 7.0 (Jun 27, 2016)
- Breaking backward compatibility:
- update checkstyle to jdk8 as runtime jdk
- Modules and XDocs: changed setter methods to recieve similar types with field type for easier xdoc validation.
- New:
- VisibilityModifier: allow public final fields.
- Bug fixes:
- 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.
- Notes:
- doc: fixed checkstyle download url (#3304).
- 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.
New in Eclipse Checkstyle Plug-in 6.19 (May 30, 2016)
- Breaking backward compatibility:
- Issue #3187: aligned setters with String collection fields and broke old compatibility.
- New:
- new Check: SingleSpaceSeparator.
- ReturnCount: special option for methods with void return type.
- new CLI argument: provide abililty to show debug level of logs from checkstyle code.
- Fix cache usage in presence of filters.
- Bug fixes:
- 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.
- Notes:
- 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 fix security vulnerability CVE-2015-6420. Author: akhil
- doc: Indentation property description become worded in the same way.
New in Eclipse Checkstyle Plug-in 6.18 (May 3, 2016)
- New:
- 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.
- Bug fixes:
- NullPointerException in FinalLocalVariableCheck with Lambdas. Author: rnveach
- Serious performance problem in All Javadoc Check that are based on ANTLR parser. Author: rnveach
- CommentsIndentation Check - False Positive at End-of-Method.
- Indentation: fix 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.
- Notes:
- 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.
- Fix all issues 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 DatatypeConverterprintHexBinary 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.
New in Eclipse Checkstyle Plug-in 6.17 (Mar 25, 2016)
- Breaking backward compatibility:
- Add 'baseName' option and remove 'basenameSeparator' option of TranslationCheck. Author: Andrei Selkin #2204
- New:
- Make CLI option to be able to print Javadoc tree as plain text. Author: Baratali Izmailov #652
- java9: try structure is not parsable when only name is used. Author: Roman Ivanov #3025
- All messages translated to Chinese. Author: ybbpgfjtey #3001
- RequireThis: new option validateOnlyOverlapping. Author: Andrei Selkin #2362
- Bug fixes:
- Bad german translation of summary.first.sentence. Author: Christian H. Kuhn #3013
- Ignored file extensions will output unterminated tags in XML. Author: idarmans #3022
- NPE when running CS with cache with Maven plugin using NewlineAtEndOfFile. Author: Vladislav Lisetskiy #2218
- Exception when using method reference in lamba "Class[]::new". Author: Ilja Dubinin #2729
- ClassNotFoundException when using inherited exception (regression to issue #1192 fix). Author: Roman Ivanov #3008
- Notes:
- doc: extending Rationale of NewlineAtEndOfFile with example. Author: Roman Ivanov
- Fund raising pages for checkstyle. Author: Roman Ivanov #3057
- java8: Create compilable test inputs with all possible cases for method references. Author: rnveach #2968
- upgrade equalsverifier to version 2.0. Author: Vladislav Lisetskiy #3035
- remove dependency to commons-lang3 library. Author: Rasmus Kaj #2428
- reenable two sevntu checks. Author: Vladislav Lisetskiy #3042
- Use Collections.addAll() instead of adding elements individually. Author: Baratali Izmailov #625
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.ant. Author: Vladislav Lisetskiy, Roman Ivanov #1487
- Localed UTs are failing at CheckstyleAntTaskTest.testXmlOutput. Author: Roman Ivanov #3023
- Strive for 100% line coverage for java grammar. Author: rnveach #2973
New in Eclipse Checkstyle Plug-in 6.16 (Mar 4, 2016)
- Bug fixes:
- fix TokenTypes compatibility problems between 6.15 and 6.16. Author: rnveach #2997
- Allow JUnit ClassRule to be public. Author: Andrej Vano #2987
- FinalParameters should not warn for non-final parameters of native methods . Author: rnveach #2981
- Notes:
- Revert "Issue #2973: removed unused FLOAT_SUFFIX from java.g". Author: Roman Ivanov
- all rows in coerage table google_style.html shoudl have anchor. Author: rnveach #2975
- Strive for 100% line coverage for java grammar. Author: rnveach #2973
New in Eclipse Checkstyle Plug-in 6.16 (Mar 2, 2016)
- Breaking backward compatibility:
- Move Treewalker cache to Checker. Author: Andrei Selkin #569
- New:
- Make CLI option to be able to print Javadoc tree as plain text. Author: Baratali Izmailov #652
- copy Check class to AbstractCheck class to let deprecate Check class. Author: rnveach, Roman Ivanov #2551
- Print parse tree from CLI to terminal. Author: Vladislav Lisetskiy #2638
- Bug fixes:
- Skip type annotations from validation of ModifierOrderCheck. Author: Andrei Selkin #903
- Probable typo in com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck. Author: Andrei Selkin #2762
- Indentation check reports some incorrect indentation levels on errors. Author: rnveach #2941
- 6.15 complains about missing @return tag in a overridden method. Author: Vladislav Lisetskiy #2869
- Nesting Checks in each other in config does not produce any error. Author: rnveach #2773
- Forbid multiple violation for the same line in IndentaitonCheck. Author: liscju #676
- LeftCurly not working correctly with lambdas. Author: liscju #2818
- Duplicate error message for static final field in DeclarationOrder check. Author: liscju #1048
- Translation Check: wrong support for resources with language, country, variant. Author: Andrei Selkin #2251
- Checkstyle internal exceptions lack contextual information. Author: Andrei Selkin #2285
- Changed semantics of PropertyExpander. Author: Petr Hejl #2886
- Indentation properties not applied properly to lambdas. Author: rnveach #281
- VisibilityModifier.allowPublicImmutableFields should allow public immutable fields in enums. Author: Vladislav Lisetskiy #2887
- FinalClass is over aggressive when extending happen inside class. Author: liscju #2822
- WhitespaceAround should have an option allow double-brace initialization. Author: liscju #2838
- Exception when using method reference in lamba "Class[]::new". Author: Ilja Dubinin #2729
- Wasted disk access. Author: rnveach #2103
- JavadocType doesn't report unused param tag. Author: liscju #2811
- DeclarationOrder check enforces order that is not possible. Author: Andrei Selkin #924
- Tabs are wrongly handled in Indentation check when line is wrapped. Author: rnveach #2795
- custom javadoc inline tags cause parse error. Author: rnveach #1184
- JavadocStyleCheck: String index out of range: -1. Author: rnveach #2788
- Notes:
- Strive for 100% line coverage for java grammar. Author: rnveach #2973
- Refactor Comments AST Test. Author: rnveach #2396
- doc: example to checkstyle's Ant configuration was added to anttask.html. Author: Roman Ivanov
- Travis: add xwiki project to regeression testing. Author: Vladislav Lisetskiy #2938
- PMD: resolve problems from DefaultPackage rule. Author: Vladislav Lisetskiy, Roman Ivanov #957
- doc: Improve javadoc of parameters of AnnotationLocationCheck.. Author: liscju
- fix java8 compilation broblems in Inputs. Author: rnveach #2904
- Create web-page with instructions: how to create Javadoc Check. Author: Baratali Izmailov #410
- PMD ExceptionAsFlowControl: Do not use exceptions as flow control to create objects in PackageObjectFactory. Author: Vladislav Lisetskiy #1159
- ant with failOnViolation="false" will FAIL. Author: Vladislav Lisetskiy #2185
- Checkstyle cannot be built using JDK9 as tools.jar has been dropped . Author: Peter Wong #2905
- CS' java 8 code isn't compilable. Author: rnveach #2880
- doc: NPath documentation is extended. Author: Roman Ivanov
- Refactor gui package. Author: Vladislav Lisetskiy #2609
- spelling: Correct spelling for fast-forward-merge.sh. Author: Thomas Paul Mann
- UTs should be launched in default locale. Author: Vladislav Lisetskiy #2783
- Disallow usage of java.util.Stack and java.util.Vector in code. Author: Andrei Selkin #2859
New in Eclipse Checkstyle Plug-in 6.15 (Feb 2, 2016)
- NEW:
- new Check: RegexpOnFilename. Author: rnveach, Roman Ivanov #2546
- SuppressionFilter: new option 'optional' to allow skip SuppressionFilter if config file does not exist. Author: liscju #1002
- Add possibility to specify a unique ID to all Regexp checks. Author: Andrei Selkin #1008
- BUG FIXES:
- StringIndexOutOfBoundsException in Indentation check. Author: rnveach #2645
- AbstractJavadocCheck should process only doc comments placed before class, interface, constructor, method, or field declarations. Author: Baratali Izmailov #325
- SummaryJavadoc: false "end with a period" reports when inheritDoc is used . Author: rnveach #2805
- JavadocMethod: allowedAnnotations hides bad javadocs. Author: rnveach #2806
- FinalLocalVariable doesn't report variable when condition separates 2 assignments. Author: Bhavik Patel #2807
- Config of Google Style does not include InterfaceTypeParameterName check. Author: Andrei Selkin #2792
- Indentation on annotation parameters is wrong. Author: liscju #1349
- OneStatementPerLine check and lambda expression. Author: liscju #2688
- Gui should have a splitter bettween tree and code and prefered columns size. Author: liscju #2767
- RequireThis reports false-positive when an instance method is overloaded with a static one. Author: Vladislav Lisetskiy #2539
- NOTES:
- Add checkstyle messages to xdocs. Author: rnveach #2836
- Setup 'Circle CI' to run checkstyle-tester project on JDK sources. Author: Vladislav Lisetskiy, Roman Ivanov #2815
- Enforce Checks of sevntu.checkstyle (released version) over Checkstyle source code. Author: Yasser Aziza #2661
- Use Codeship CI for testing. Author: Roman Ivanov #2727
- Refactor gui package. Author: Vladislav Lisetskiy, Roman Ivanov #2609
- doc: Add sbt-checkstyle-plugin to list of active tools. Author: Andrew Johnson
New in Eclipse Checkstyle Plug-in 6.14.1 (Dec 31, 2015)
- Bug fixes:
- JavaNCSSCheck: unknown format type: numero inteiro. Author: Roman Ivanov #2728
- StringIndexOutOfBoundsException in getCheckShortName method of AuditEventDefaultFormatter. Author: Andrei Selkin #2780
- Notes:
- spelling: fix typo in AuditEventFormatter class name. Author: Andrei Selkin
New in Eclipse Checkstyle Plug-in 6.14 (Dec 30, 2015)
- BREAKING BACKWARD COMPATIBILITY:
- Remove parameters validation from LocalVariableName. Author: Andrei Selkin #2549
- NEW:
- Print name of the Check after printing violation message. Author: Andrei Selkin #2666
- WhitespaceAround should have an allowEmptyLambda parameter. Author: liscju #2603
- Add ENUM_CONSTANT_DEF support to MethodParamPad . Author: Andrei Selkin #2505
- new CatchParameterName Check: to validate names of catch-block parameters only. Author: Michal Kordas #2616
- BUG FIXES:
- FinalLocalVariable false-positive in SWITCH. Author: Bhavik Patel #2405
- Typo in Javadoc tag name. Author: Baratali Izmailov #2376
- Extend parsing rule of custom Javadoc tag name. Author: Baratali Izmailov #461
- Nesting Checks in each other in config does not produce any error. Author: Roman Ivanov #2773
- RequireThis check message is not clear enough. Author: Vladislav Lisetskiy #2239
- OneStatementPerLine: false match with try-with-resources. Author: Jon Bake #2211
- Performance issue in UnusedImportsCheck. Author: Vladislav Lisetskiy #2631
- Remove unused message. Author: Vladislav Lisetskiy #2756
- Create directory structure needed to store cache file. Author: Andrei Selkin #2575
- AbbreviationAsWordInName incorrectly reports constants in annotations. Author: Abram Thielke #2694
- Inconsistent violations for NeedBraces/allowSingleLineStatement. Author: liscju #2291
- ParameterNameCheck: NullPointerException over checkstyle's input file. Author: Andrei Selkin #2678
- @SuppressWarnings annotation does not suppress UncommentedMain. Author: Andrei Selkin #2646
- UncommentedMain does not rise violations if main method has varargs as parameters. Author: Vladislav Lisetskiy #2647
- Fix 'tokens' property in JavadocStyle check. Author: Thomas Jensen #2644
- GenericWhitespace: violation on generic like '...... instanceof Type;'. Author: liscju #2633
- AbbreviationAsWordInName: update message to print name that violates a format. Author: liscju #2640
- NOTES:
- Use Nexus Staging Maven Plugin for release process. Author: Roman Ivanov #2619
- Enforce Checks of sevntu.checkstyle (released version) over Checkstyle source code. Author: Andrei Selkin #2661
- Make UT 'testNonAccessibleFile' locale independent . Author: Andrei Selkin #2749
- Refactor gui package. Author: Vladislav Lisetskiy #2609
- Make DetectorOptions as final and immutable. Author: Andrei Selkin #2523
- Fix additional issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Roman Ivanov #2080
- conf: update guava version to 19.0. Author: Roman Ivanov
- doc: Correct regexp in configuration example for ParameterNameCheck. Author: Andrei Selkin
- doc: Add example for ParameterName into xdoc. Author: Andrei Selkin
- doc: Fix check name in CatchParameterName xdoc. Author: Andrei Selkin
- doc: Update comment in google_checks.xml. Author: Michal Kordas
- Reorganize token sets in UncommentedMain. Author: Vladislav Lisetskiy #2671
- refactor internal tests. Author: rnveach #2625
- Update configuration for XXXXName Checks at checkstyle_checks.xml. Author: Andrei Selkin #2604
- Make validation of expected warnings in integration tests more strict. Author: Vladislav Lisetskiy #2658
- spelling: fix typo in word 'Existing' in google_style.xml. Author: liscju
- Fix ParseTreeBuilder's variable names to be more readable. Author: Baratali Izmailov #2642
New in Eclipse Checkstyle Plug-in 6.13 (Nov 30, 2015)
- Breaking backward compatibility:
- Remove access to undocumented check properties. Author: rnveach #2451
- New:
- ParameterName: new option to skip methods with Override annotation. Author: Andrei Selkin #2290
- Bug fixes:
- False negative in RequireThis check. Author: Vladislav Lisetskiy #2240
- Checkstyle throws NumberFormatException on Japanese locale when sizes and metrics Checks are used. Author: Takahashi Eikou #2601
- EmptyLineSeparator check does not validate newlines before class and after last method. Author: Vladislav Lisetskiy #2067
- FallThroughCheck handles finally incorrectly. Author: Vladislav Lisetskiy #1438
- EqualsAvoidNull check should сheck String concatenations. Author: Vladislav Lisetskiy #1930
- Notes:
- minor: remove maven-failsafe-plugin from linkcheck excludes, since link was fixed. Author: Andrei Selkin
- minor: build-helper-maven-plugin version bump to 1.10. Author: Roman Ivanov
- adjust AbbreviationAsWordInName in checkstyle_checks.xml to catch unexpected abbreviations. Author: Roman Ivanov #2639
- Fix additional issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #2080
- minor: fixed improper put that should be get. Author: rnveach
- Code review of CommentsIndentationCheck.java. Author: Andrei Selkin #2530
- Remove drag&drop from GUI. Author: Ilja Dubinin #2608
- create HTML web page to describe how to open issues against Checkstyle. Author: Michal Kordas, Roman Ivanov #2344
- Pull #2607: Update JGit to 4.1.1.201511131810-r. Author: Michal Kordas #2607
- Pull #2605: Make methods private in RequireThisCheck. Author: Vladislav Lisetskiy #2605
- Tests for validating commit message should not allow period at the end of commit message. Author: Andrei Selkin #2590
- doc: Correct xdoc/javadoc for ParameterNameCheck. Author: Andrei Selkin
- unify IT test code. Author: rnveach #2589
- minor: separated tests so one subject per file. Author: rnveach
- Deactivate 'allowSamelineSingleParameterlessAnnotation' property of AnnotationLocation in Checkstyle config. Author: Michal Kordas #2581
- Create test for checkstyle-X.X-all.jar on Travis. Author: Roman Ivanov #2516
- Pull #2586: Update slf4j-simple to 1.7.13. Author: Michal Kordas #2586
- Pull #2585: Update FindBugs Maven Plugin to 3.0.3. Author: Michal Kordas #2585
- PMD: resolve problems from DefaultPackage rule. Author: Michal Kordas #957
- minor: fixed wrong variable usage in AbstractOptionCheck. Author: rnveach
- Remove usage of System.out.println in IT resources. Author: Michal Kordas, Roman Ivanov #2541
- Unify naming of all files with IT inputs. Author: rnveach #2540
- UT to validate google/sun style xdocs. Author: rnveach #2557
- Unify naming of all files with test inputs. Author: rnveach, Roman Ivanov #2161
- spelling: fix strange japanese.. Author: Nobuyuki-Inaba
- Improve documentation for CovariantEquals check. Author: Vladislav Lisetskiy #1031
New in Eclipse Checkstyle Plug-in 6.12.1 (Nov 5, 2015)
- Bug fixes:
- Fix RedundantModifier at final methods in anonymous class. Author: rnveach #2122
- Performance-Optimization: Do not recompile Pattern for each file/line. Author: Fabian Loewner #2495
- Add 'ignoreOverridden' option to skip methods with @Override annotation. Author: Andrei Selkin #2290
- Fix skipping validation for non empty classes when allowEmptyTypes is true. Author: Andrei Selkin #2480
- NeedBraces: allow no body loops. Author: Andrei Selkin #2436
- Make 'processJavadoc' property 'true' by default. Author: Vladislav Lisetskiy #1627
- spelling: fix strange japanese. Author: Nobuyuki-Inaba #2524
- Notes:
- removed excess hierarchy from several Checks. Author: rnveach #2451
- deprecated AbstractIllegalCheck. Author: rnveach #2451
- removed xdoc google style links to master. Author: rnveach #2519
- removed xdoc links to master. Author: rnveach #2519
- added xdoc example url validation. Author: rnveach #2517
- added xdoc check order validation, all xdoc are sorted. Author: rnveach #2292
- validate existence of config file sooner. Author: rnveach #1267
- reorganized checkstyle_checks.xml. Author: rnveach #2526
- Describe token sets in 'writing checks' section in xdoc. Author: Vladislav Lisetskiy #2346
- Update System Rules to 1.13.0. Author: Michal Kordas #2513
New in Eclipse Checkstyle Plug-in 6.12 (Nov 4, 2015)
- Bug fixes:
- CommentsIndentationCheck doesn't report errors at end of block. Author: Andrei Selkin #2078
- Fix NoWhitespaceAfterCheck. Author: attatrol #1013
- Fix NPE in EqualsAvoidNull check. Author: Vladislav Lisetskiy #2474
- Fix FinalLocalVariable false-negative. Author: Vladislav Lisetskiy #1551
- Exclude lines with package in LineLength check. Author: rnveach #2482
- fixed NPE in NeedBraces.isSingleLineFor. Author: rnveach #2283
- JavaDocMethod: Exception thrown for incomplete @return tag if next line is empty. Author: John Erik Halse #2398
- Fix reusability of JavaDoc checks. Author: Björn Kautler #2326
- Fixed blank line indentification for EmptyLineSeparator check. Author: Pavel Baranchikov #2266
- Support for @SuppressWarnings("all").. Author: Stéphane Galland #2275
- Make SuppressWarningsFilter case-insensitive. Author: Michal Kordas #2202
- Fix NPE in ModifiedControlVariable on SuppressWarnings. Author: Michal Kordas #2327
- Do not recognize '/**/' as valid Javadoc. Author: Michal Kordas #2387
- Make JavadocType check customizable by list of tokens. Author: Michal Kordas #2388
- Fix FALSE positive in JavadocStyle check on inheritDoc tag. Author: Michal Kordas #2411
- Ignore missing Javadoc for 'serialVersionUID' fields. Author: Michal Kordas #792
- Exclude lines with imports in LineLength check. Author: Michal Kordas #2433
- IllegalTypeCheck, requiredTokens is set to IMPORT only. Author: Roman Ivanov #2415
- CLI should print a file name where exception is happen. Author: Roman Ivanov #2109
- LeftCurly: add Anonymous class to allowed tokens. Author: Roman Ivanov #2431
- Notes:
- Deploy snapshots versions in CI. Author: WonderCsabo #2167
- require all filters appear in checkstyle_checks.xml. Author: rnveach #2268
- removed xdoc of CustomImportOrder.samePackageMatchingDepth. Author: rnveach #2453
- added xdoc check validation. Author: rnveach #2442
- Run CheckStyle on Full Test Directory. Author: rnveach #2421
- fixed invalid xml examples in xdocs. Author: rnveach #2425
- flush audit outputs sooner. Author: rnveach #2085
- unify test input locations for whole project. Author: rnveach #2161
- removed excess hierarchy from few Check. Author: rnveach #2451
- Bunch of refactoring and code optimizarion. Author: rnveach
- Update list of missing tools. Author: Dawid Nejman #1238
- Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
- Replaced outdated link for bamboo-checkstyle-plugin. Author: Dawid Nejman #1238
- 'forbiddenapis' plugin added to maven config. Author: Ruslan Diachenko #1217
- Update list of related Tools. Author: Dawid Nejman #1238
- skip all analysers during deploy. Author: Roman Ivanov #2167
- usage of error-prone plugin is commented out till problems with Eclipse resovled. Author: Roman Ivanov #2160
- Inconvenience to debug UTs after recent changes in BaseCheckTestSupport. Author: Roman Ivanov #2434
- Fix PMD violations for ShortVariable rule. Author: Roman Ivanov #985
- PMD violations PreserveStackTrace. Author: Roman Ivanov #996
- PMD violations EmptyMethodInAbstractClassShouldBeAbstract. Author: Roman Ivanov #997
- PMD violation ConfusingTernary. Author: Roman Ivanov #974
- rename CheckUtils.isVoidMethod to isNonVoidMethod. Author: Roman Ivanov #2273
- Decrease visibility of package-private methods. Author: Michal Kordas #957
- Rename tests to match tested class name with Test suffix. Author: Michal Kordas #2215
- Fix all issues for Java found by Codacy static analysis tool. Author: Michal Kordas #2271
- Fix missing code coverage. Author: Michal Kordas #2243
- Fix typos in code. Author: Michal Kordas #2080
- Update Maven Shade Plugin to 2.4.2. Author: Michal Kordas #2464
- Update Maven Surefire and Failsafe plugins to 2.19. Author: Michal Kordas #2394
- Update Maven Assembly Plugin to 2.6. Author: Michal Kordas #2350
- Update JGit to 4.1.0.201509280440-r. Author: Michal Kordas #2324
- Update PowerMock to 1.6.3. Author: Michal Kordas #2293
New in Eclipse Checkstyle Plug-in 6.11.2 (Nov 4, 2015)
- Bug fixes:
- Make ConfigurationLoader.loadConfiguration public. Author: Michal Kordas #2260
- Notes:
- Create UT to check that all checkstyle modules have xdocs. Author: Andrei Selkin #819
- Split config.html into few pages. Author: Andrei Selkin #819
- Create xdoc documentation for FileContentsHolder. Author: Andrei Selkin #819
- Add GENERIC_START and GENERIC_END into list of acceptable tokens in xdocs of NoWhiteSpaceAfter and WhiteSpaceAround. Author: Andrei Selkin #2258
- Add COMMA into list of acceptable tokens in xdocs of NoWhiteSpaceBefore. Author: Andrei Selkin #2259
- minor refactoring, helper method was added. Author: Aleksandr Ivanov #2231
- fixed jgit resource leaks in commit validation. Author: rnveach
- Ilja Dubinin was added as developer. Author: Roman Ivanov
- Add WILDCARD_TYPE into list of acceptable tokens in xdocs of WhitespaceAround. Author: Andrei Selkin
New in Eclipse Checkstyle Plug-in 6.11.1 (Nov 4, 2015)
- Bug fixes:
- Add lambda support to indentation check (see #281). Author: Pieter Noordhuis #1548
- Notes:
- Coverage has been increased to 100% in 'checks' package. Author: Ilja Dubinin #1290
- Resolve Doxia Site Renderer warnings. Author: Vladislav Lisetskiy #905
- Update plexus-compiler-javac-errorprone to 2.6. Author: Michal Kordas #2247
- Update JGit to 4.0.2.201509141540-r. Author: Michal Kordas #2246
- Fix release failure due to unknown Javadoc tag. Author: Michal Kordas #2245
New in Eclipse Checkstyle Plug-in 6.11 (Nov 4, 2015)
- Breaking backward compatibility:
- Restore 'url' option for ImportControl. Author: Aleksandr Ivanov #2231
- New:
- New option 'requiredTranslations' to Translation check. Author: Andrei Selkin #2166
- New option 'switchBlockAsSingleDecisionPoint' for CyclomaticComplexityCheck. Author: Andrei Selkin #2029
- Bug fixes:
- Fix java grammar for unicode escape. Author: rnveach #157
- Add basic thread-safety to Javadoc checks. Author: Michal Kordas #2237
- Fixed NPE in FinalLocalVariableCheck. Author: rnveach #1257
- NoWhitespaceAfter, NoWhitespaceBefore and WhitespaceAround don't support GENERIC_START nor GENERIC_END tokens. Author: Roman Ivanov #2219
- Add support of lambdas which parameter types are omitted for HiddenFieldCheck. Author: Andrei Selkin #2175
- Fix RedundantModifier check at final classes in interfaces. Author: Michal Kordas #2203
- Print missing cause of exception to console on error. Author: Michal Kordas #2213
- Fix not working excludeScope in JavadocMethod check. Author: Michal Kordas #2205
- Fix RedundantModifier check to recognise inner classes accessible from global scope. Author: liscju #1537
- CustomImportOrderCheck rule priorities. Author: Aleksandr Ivanov #1273
- Fix false negative in AtclauseOrder check. Author: Vladislav Lisetskiy #2095
- Fix IllegalStateException in JavadocTypeCheck. Author: Vladislav Lisetskiy #2112
- Allow COMMA again in NoWhiteSpaceBefore. Author: Roman Ivanov #2089
- Fix HiddenField false positive violations for anonymous classes. Author: Andrei Selkin #382
- Added support of logging severity for all audit events. Author: Andrei Selkin #67
- Allow @return tags from annotation types. Author: Phillip Webb #2141
- Fixed redundant modifier false positive for abstract classes in interfaces. Author: Andrei Selkin #1833
- Ignore classes nested in interaces or annotations in Final Class Check. Author: Vladislav Lisetskiy #2064
- Detect nested enums marked as static in RedundantModifier check. Author: Vladislav Lisetskiy #1530
- Fixed NPE in MutableExceptionCheck.isExtendedClassNamedAsException. Author: Andrei Selkin #1903
- Change message in SummaryJavadocCheck. Author: Vladislav Lisetskiy #2062
- Notes:
- Update HTML documentation to describe all options for all checks. Author: Andrei Selkin #2169
- Make link for each row of Google style coverage table. Author: Vladislav Lisetskiy #1005
- Add docs about while idiom to InnerAssignment check. Author: Michal Kordas #2230
- Fix additional issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #2080
- SuppressionsLoaderTest UT was stabilized. Author: Ruslan Diachenko #2191
- ROOT locale added in checker creation for UT; travis updated with a new check. Author: Ruslan Diachenko #2193
- Update Error Prone to 2.0.5. Author: Michal Kordas #2216
- Add "Input" prefix to test input files. Author: Michal Kordas #2161
- Create MacOS matrix item for Travic-CI. Author: Roman Ivanov #2210
- POM still references nexus.codehaus.org repo. Author: Roman Ivanov #2200
- Make coverage 100% for TokenTypesDoclet. Author: Vladislav Lisetskiy #2126
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
- Use StandardCharsets and get rid of UnsupportedEncodingException. Author: Michael Osipov #2034
- Remove errors from Maven output in TokenTypesDocletTest. Author: Vladislav Lisetskiy #2195
- Anchor naming checks in google_style.xml. Author: Vladislav Lisetskiy #2108
- AbstractHeaderCheck coverage has been increased to 100%. Author: Ilja Dubinin #1292
- Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
- CopyPasted ITs. Author: Vladislav Lisetskiy #2074
- Update Maven Wagon to 2.10. Author: Michal Kordas #2183
- Update Maven Project Info Reports Plugin to 2.8.1. Author: Michal Kordas #2182
- Split all modules to be separate at config_naming.html. Author: Vladislav Lisetskiy #2108
- Remove already fixed exclusion from PMD configuration. Author: Michal Kordas #961
- Add SLF4J binding required by JGit. Author: Michal Kordas #2129
- Configure compiler to use Error Prone for non-input sources. Author: Michal Kordas #2160
- Rearrange POM to use canonical ordering. Author: Michal Kordas #809
- Unify naming files with test inputs. Author: Michal Kordas #2161
- Create wide message for CheckstyleException in PackageObjectFactory. Author: Andrei Selkin #759
- Fix compiler warnings in input files. Author: Michal Kordas #2130
- Updated checkstyle_checks.xml to use ParameterNumber in default configuration. Author: Andrei Selkin #215
- Extended Eclipse user guide for newbies of Checkstyle. Author: Andrei Selkin #606
- Fix exception at NeedBraces check in enhanced for loops. Author: Michal Kordas #2135
- Make test for FileTabCharacter locale and OS independent. Author: Michal Kordas #2137
- Add inspection scope profile for IDEA analysis. Author: Michal Kordas #2131
- Fix issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #1555
- Added tests for validating commit message. Author: liscju #937
- Fix StringIndexOutOfBoundsException. Author: Vladislav Lisetskiy #2094
- Activated TranslationCheck in checkstyle_checks.xml. Author: Andrei Selkin #2092
- Fix Javadoc generation failure after addition of new tag. Author: Michal Kordas #2106
- Add Codacy badge to main page. Author: Michal Kordas #2054
- Update all Checks html docs with link to hosted configurations. Author: Vladislav Lisetskiy #1214
- Create separate web page for old release notes. Author: Vladislav Lisetskiy #2063
- Extended javadoc/xdoc for RightCurlyCheck. Author: Andrei Selkin #1900
- Added UT which validates that all checks which exist in classpath are referenced in checkstyle_checks.xml. Author: Andrei Selkin #945
- Add suppression for IntelliJ IDEA inspection. Author: Michal Kordas #2065
- Refactoring of TreeWalker to increase readability. Author: Andrei Selkin
- Corrected javadoc/xdoc for IllegalTypeCheck. Author: Andrei Selkin
New in Eclipse Checkstyle Plug-in 6.10.1 (Nov 4, 2015)
- Bug fixes:
- broken compatibility with maven-checkstyle-plugin:2.15 at checkstyle:6.10. Author: Roman Ivanov #2065
New in Eclipse Checkstyle Plug-in 6.10 (Nov 4, 2015)
- Breaking backward compatibility:
- 'ignoreMethods' option has been removed from DeclarationOrderCheck. Author: Baratali Izmailov #2031
- fix typos in properties names. Author: Michal Kordas in scope of #1555
- Rethrow all exceptions further to caller of Checker. Author: Ruslan Diachenko #1304
- Improve exception handling in CheckstyleAntTask class. Author: Ruslan Diachenko #1245
- New:
- Added new Check: CommentsIndentationCheck. Author: Andrei Selkin #333
- Bug fixes:
- fixed problem with lexical order in CustomImportOrder. Author: Aleksandr Ivanov #1469
- Extended messages for CustomImportOrder. Author: Aleksandr Ivanov #1648
- Changed SAME_PACKAGE rule for CustomImportOrderCheck. Author: Aleksandr Ivanov #1262
- reimplement EqualsAvoidNullCheck. Author: Vladislav Lisetskiy #1377
- enforce all checks to override getRequiredTokens, getAcceptableTokens methods. Author: Andrei Selkin #655
- IllegalType: add 'validateAbstractClassNames' option. Author: Andrei Selkin #1805
- Marked 'maxLineLength' as '@Deprecated' at LeftCurlyCheck. Author: Andrei Selkin #965
- Detect public constructors in non-public classes in RedundantModifier. Author: liscju #1537
- Fixes logic bug in gui ParseTreeInfoPanel making linesToPositions assign lines to inappropriate positions. Author: liscju
- Fix RightCurlyCheck with same option not to rise expression in single-line blocks. Author: liscju #1416
- Fix UnsupportedOperationException in GUI. Author: Michal Kordas #1718
- Notes:
- Fix issues reported by IntelliJ IDEA inspections in Checkstyle code. Author: Michal Kordas #1555
- Fix violations reported by Checkstyle checks. Author: Baratali Izmailov , Ruslan Diachenko #1566
- Sonarqube found problems in Checkstyle. Author: Ilja Dubinin #46
- Enable Checkstyle checks for 'gui' package. Author: Roman Ivanov #1678
- Corrected links on website. Author: Andrei Selkin #751
- Eclipse warnings about unused fields have been fixed. Author: Baratali Izmailov #1243
- Simplify overqualified CSS element. Author: Michal Kordas #2054
- Remove empty CSS rule. Author: Michal Kordas #2054
- config: maven-enforcer-plugin and equalsverifier are updated to newest version. Author: Roman Ivanov
- Make coverage 100% for some classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
- Utils classes have been moved to utils package, new classes CommonUtils and TokenUtils. Author: Ilja Dubinin #1898
- Use EqualsVerifier to test equals and hashCode in IntMatchFilter. Author: Michal Kordas #1088
- Removed suppression for SwitchDensity rule from PMD. Author: Andrei Selkin #973
- Remove obsolete entry from PMD configuration. Author: Michal Kordas #877
- Remove unused Coveralls plugin from pom.xml. Author: Roman Ivanov #1881
- Update ANTLR to 4.5.1-1. Author: Roman Ivanov #1880
- Update EqualsVerifier to 1.7.4. Author: Roman Ivanov #1879
- replace deprecated method in HiddenCheckField. Author: Vladislav Lisetskiy
- Created JaCoCo profile of pom.xml. Author: Andrei Selkin #1173
- Update Maven FindBugs Plugin to 3.0.2. Author: Michal Kordas #1714
- Fixed typo in JavadocMethod's examples xdocs. Author: Andrei Selkin #1668
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.regexp. Author: Ilja Dubinin #1010
- Fix headers for classes in 'gui' package. Author: Michal Kordas #945
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.coding.. Author: Baratali Izmailov #1293
- Resolved javadoc problems that reported by java 8. Author: Andrei Selkin #291.
- Minor typo fixes. Author: Dave Moloney
New in Eclipse Checkstyle Plug-in 6.9 (Aug 9, 2015)
- BREAKING BACKWARD COMPATIBILITY:
- Change default value of property "format" to "^Abstract.*$" in AbstractClassNameCheck. Author: Bhavik Patel #1279
- NEW:
- New option for MagicNumber: constantWaiverParentToken. Solution to not detected properly numbers. Author: Bhavik Patel #1266
- BUG FIXES:
- Fixed NPE in MultipleVariableDeclarationsCheck Issue. Author: Baratali Izmailov #1539
- Added column number into violation messages for RightCurlyCheck and LeftCurlyCheck. Author: Andrei Selkin #1511.
- Fix BooleanExpressionComplexity check violations in Checkstyle code. Author: Andrei Selkin #1052
- Add new option for RightCurlyCheck. Author: Andrei Selkin #1019.
- Updated configuration for Eclipse Mars in xdoc. Author: Aleksandr Ivanov #1464
- updated Xdoc and Javadoc for ImportOrder and CustomImportOrder. Author: Aleksandr Ivanov #1464
- Remove from dependecies deprecated jar commons-beanutils-core.jar . Author: Roman Ivanov #1471
- RedundantModifier for inner classes and enum constructors. Author: liscju #1242
- Add missing xdocs for allowMultipleEmptyLines property of EmptyLineSeparatorCheck. Author: Andrei Selkin #881.
- Add setter for 'ignoreEnums' in LeftCurlyCheck. Author: Andrei Selkin #975.
- JavadocType does not check parameters in inner classes. Author: Pavel Baranchikov #1421
- ImportOrderCheck. Fix separation for static imports. Author: Aleksandr Ivanov #1398
- Fix for SuperClone and SuperFinalize checks reporting violations on native methods. Author: Vladislav Lisetskiy #1367
- Fix FallThroughCheck fails on if with no else. Author: Andrei Selkin #1395.
- fix JavadocParagraph allows new line before the next paragraph. Author: Vladislav Lisetskiy #1332
- Fix RegexpHeader causing exception with default config. Author: Andrei Selkin #1129.
- Fix OneStatementPerLine on multiple field initialization bug. Author: Andrei Selkin #1237.
- extend target list fo SuppressWarningsHolder. Author: Vladislav Lisetskiy #1158
- provide human message for SuppressWarningsHolder. Author: Vladislav Lisetskiy #1158
- Raising exception for CustomImportOrder.SAME_PACKAGE. Author: Aleksandr Ivanov #1282
- NOTES:
- Enable CustomImportOrder. Author: Aleksandr Ivanov #1459
- Add UniquePropertiesCheck into checkstyle_checks.xml. Author: Andrei Selkin #1129.
- Refactoring of FinalLocalVariableCheck to avoid 'fall through' violation. Author: Andrei Selkin #1395.
- Add Organize Imports instructions to site. Author: Aleksandr Ivanov #1448
- Fixed compilation error for CustomImportOrder input file. Author: Aleksandr Ivanov #1470
- ImportOrder enabled in configuration. Author: Aleksandr Ivanov #1448
- Number of updates for. Author: Michal Kordas #1555
- Fixed incorrect Google Java Style links. Author: Andrei Selkin #751.
- Refactoring of RightCurlyCheck. Author: Andrei Selkin #1511.
- Apply various improvements over Checkstyle test code. Author: Michal Kordas #1542
- Apply various improvements over Checkstyle code. Author: Michal Kordas #1538
- Remove unnecessary consecutive lines in Checkstyle code. Author: Michal Kordas #1534
- Fix some SonarQube violations . Author: Michal Kordas #46
- Enable NonEmptyAtclauseDescription check on Checkstyle code. Author: Michal Kordas #945
- fix for UTs on Windows7 and do not conflict with WindowsServer. Author: Roman Ivanov #1496
- Investigate UTs failure to MainTest on Windows. Author: Roman Ivanov #1510
- fix for build problem in Idea on Windows . Author: Roman Ivanov
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.metrics. Author: Ruslan Diachenko #1287
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.regexp (partial fix). Author: Ilja Dubinin #1010
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.blocks. Author: Ilja Dubinin #1291
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.coding. Author: Baratli Izmailov #1293
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.modifier. Author: Ruslan Diachenko #1286
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.naming. Author: Ruslan Diachenko #1288
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.whitespace. Author: Ruslan Diachenko #1289
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle. Author: Roman Ivanov 1294
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.api. Author: Roman Ivanov 1295
- Make coverage 100% for Indentation check. Author: Michal kordas 1295
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.javadoc. Author: Michal kordas 1308
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.filters. Author: Ruslan Diachenko #1296
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.imports. Author: Alexander Ivanov #1128
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks. Author: Ilja Dubinin #1290
- Make coverage 100% for all classes at package com.puppycrawl.tools.checkstyle.checks.header. Author: Ilja Dubinin #1292
- CheckDocsDoclet.java was removed as it is not used in a project. . Author: Roman Ivanov
- Import which produces error on MacOSX jdk has been deleted . Author: Ilja Dubinin
- javadoc: deperecate overview.html and package.html support. Author: Roman Ivanov #1415
- Make "private" methods "static" where possible. Author: Michal Kordas #46
- new images were provided by our artist, new header for web site . Author: Roman Ivanov
- BaseCheckTestSupport.verify fails on Windows. Author: WonderCsabo #1388
- check for connection is done by our website URL, as resource file is there. That let pass test when sourceforge web site is down . Author: Roman Ivanov
- Switch options reoganized for easier reading. Author: Aleksandr Ivanov #1376
- add example for ConstantName in xdoc. Author: Vladislav Lisetskiy #1106
- commented code was removed from CheckerTest . Author: Roman Ivanov
- fix eclipse package declaration error in InputPackageDeclaration . Author: Vladislav Lisetskiy
- Add Gradle to list of related tools Correct SonarQube name and links in same list . Author: Thomas Jensen
- fix structure of site.xml. Author: Vladislav Lisetskiy #1341
- Move tests which cause compilation problem in Eclipse 4.2.2 to non-compilable folder. Author: Andrei Selkin #1351.
- Fix integration test compilation error for Windows environment. Author: Michal Kordas #1342
- Fix failing of ITs for OneStatementPerLineCheck. Author: Andrei Selkin #1348.
- surefire and failsafe plugins are moved above checkstyle validation to run before long checkstyle execution . Author: Roman Ivanov
- add IT to validate google_checks config. Author: Vladislav Lisetskiy #1275
- rename fields in ConfigurationBuilder and BaseCheckTestSupport . Author: Vladislav Lisetskiy
- update build procedure to validate all XML files against their schemas. Author: Vladislav Lisetskiy #1275
- Fix compilation error for Windows environment. Author: Michal Kordas #1342
- Remove usage of deprecated methods from MainTest. Author: Michal Kordas #1325
- Restore checkstyle validation on nemo.sonarqube.org. Author: Roman Ivanov #1319
- Update Maven Shade Plugin, EqualsVerifier, antlr, system-rules and Maven PMD Plugin to latest versions. Author: Michal Kordas
- system-rules, ant were updated to latest version . Author: Roman Ivanov
- Removed all assert statements. Author: Aleksandr Ivanov #1298
- Fix AbstractClassName Check on checkstyle code. Author: Bhavik Patel #945
- Make Eclipse / m2e plugins generate valid projects . Author: Juan Martín Sotuyo Dodero
New in Eclipse Checkstyle Plug-in 6.8.2 (Aug 6, 2015)
- Incorrect xml structure at google_checks.xml.
New in Eclipse Checkstyle Plug-in 6.8.1 (Jul 1, 2015)
- Bug fixes:
- 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.
New in Eclipse Checkstyle Plug-in 6.8 (Jun 29, 2015)
- Breaking backward compatibility:
- Detect only label as illegal token in IllegalToken check, default token set is changed to TokenTypes.LABELED_STAT.
- Add possibility to configure targets for ParenPad check, LPAREN and RPAREN were removed from acceptable tokens
- Set default value of max property to 4 (from 1) for ThrowsCountCheck and update javadoc/xdoc.
- 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:
- New option for ModifiedControlVariableCheck: skipEnhancedForLoopVariable.
- New options for SingleLineJavadoc: ignoredTags, ignoreInlineTags.
- Bug fixes:
- correction of parsing of attributes in AtclauseOrderCheck,
- fix for JavadocMethodCheck: catch NoClassDefFoundError in ClassResolver,
- Replace hardcoded message in WhitespaceAfterCheck with new message (i18n).
- Solution to wrong variable reported because of name shadowing in FinalLocalVariableCheck.
- Clarify misleading command line tool (CLI) output.
- solution to CLI fails when it could not find output file.
- Fixed exception in AvoidStaticImport check trying to exclude members of inner class.
- Solution to "Incorrect config file cause CLI finish with error but no output with details" solves #1180 .
- Fix exception in SuppressWarnings check on complex annotations.
- Fix value pair representation in SuppressWarnings check.
- Do not generate violation for empty SuppressWarnings.
- Fix PackageDeclaration check for files with comments only.
- Fix exception in SuppressWarningsHolder on complex annotations or annotation with dot.
New in Eclipse Checkstyle Plug-in 6.7 (Jun 1, 2015)
- Breaking backward compatibility:
- 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:
- New "ignorePrivateMethods" property for ThrowsCount check to skip private methods.
- New "crlf" option for lineSeparator property in NewlineAtEndOfFile check.
- Bug fixes:
- Make message-based checks invariant to Locale.
- Fix no possibility to set English language explicitly in config.
- Do not verify overriding methods in ThrowsCount check.
- Fix Regexp check causing exception on file with newline on top.
- Fix RegexpMultiline check causing exception with default config.
- Add support for canonical class names in MutableException.
- Fix NeedBraces check not requiring braces in multiline statements when using allowSingleLineStatement option.
- Fix equals and hashCode in SuppressionFilter, SuppressElement, IntRangeFilter, LocalizedMessage and remove obsolete toString.
- Add "/", "+" and "-" to list of allowed tokens in MagicNumber check.
- Extend ReturnCount check to use separate return counter for lambdas.
- Fix exception in OneTopLevelClass check for package-info files.
- Fix exception in FallThrough check for nested switch statements. A
- Magic Number annotation detection enhanced for arbitrary parent nodes in MagicNumber check. A
- Improve standard package regexp for CustomImportOrder check.
- Fix NPE in ModifiedControlVariable check.
- Include enums in CovariantEquals check analysis.
- Fix parsing of allowedAnnotations property in JavadocMethod check.
- Notes:
- 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 VisibilityModifier check.
- Replace deprecated PosixParser with DefaultParser.
- remove dead code from MutableException check.
- remove dead code from FinalClass check.
- 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 CustomImportOrder check.
- resolving Findbugs violation: #911 , #909, #778, #923, #925, #596.
- huge refactoring for CLI Main class. Author: Roman Ivanov #596
- Option allowPublicFinalFields does not exist in VisibilityModifier check.
- OneTopLevelClass check example is broken and documentation missing, for 'tokens' property.
- OneTopLevelClass check example in documentation has invalid XML syntax.
New in Eclipse Checkstyle Plug-in 6.6 (Jun 1, 2015)
- New:
- New option for MagicNumber Check to ignore magic numbers in field declarations.
- New option for ModifiedControlVariable Check to ignore validation of variables defined in for loop which are not changed in for loop iterator part.
- Bug fixes:
- 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 indentation.
- added validation for header in setHeader in RegexpHeaderCheck.java to provide better feedback when an invalid Pattern is specified.
- Notes:
- 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. A
- 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.
New in Eclipse Checkstyle Plug-in 6.5 (Apr 27, 2015)
- Updates the Checkstyle core version:
- Please note that this version requires Java 7 as the minimum runtime environment. This requires you to run Eclipse on a Java 7 (or newer) JVM in order to use this plugin version.
- This restriction does not affect the ability to analyze Java 5 or lower level source code.
- Please read the Checkstyle release notes for details on recent changes in Checkstyle.
- Bugfixes:
- Get error about invalid token even though it is valid
- Unicode issues in Checkstyle violations and violation chart view
- Exceptions when .project or .checkstyle files are readonly
New in Eclipse Checkstyle Plug-in 6.4 (Apr 27, 2015)
- Updates the Checkstyle core version:
- Please note that this version requires Java 7 as the minimum runtime environment. This requires you to run Eclipse on a Java 7 (or newer) JVM in order to use this plugin version.
- This restriction does not affect the ability to analyze Java 5 or lower level source code.
- Please further note that with Checkstyle 6.2 the StrictDuplicate and RedundantThrows check have been removed without replacement.
- Also the configuration option ignoreDirectoryName of the PackageDeclaration checks has been removed.
- If your Checkstyle configuration uses one of those checks/options adaptations will be required in order to use your configuration with this version.
- Please read the Checkstyle release notes for details.
- Bugfixes:
- CheckFileOnOpenPartListener can cause long UI hang at startup
New in Eclipse Checkstyle Plug-in 6.2 (Apr 27, 2015)
- Updates the Checkstyle core version to 6.2
- Please note that as of this version Java 7 is the minimum runtime environment supported. This requires you to run Eclipse on a Java 7 (or newer) JVM in order to use this plugin version.
- This restriction does not affect the ability to analyze Java 5 or lower level source code.
- Please further note that with Checkstyle 6.2 the StrictDuplicate and RedundantThrows check have been removed without replacement.
- Also the configuration option ignoreDirectoryName of the PackageDeclaration checks has been removed.
- If your Checkstyle configuration uses one of those checks/options adaptations will be required in order to use your configuration with this version.
- Please read the Checkstyle release notes for details.
- Bugfixes:
- Derived resources are checked
- RegexpHeader and SuppressionCommentFilter not behaving as CLI does
New in Eclipse Checkstyle Plug-in 6.1 (Nov 28, 2014)
- Bugfixes:
- 5.9.0 Plugin not able to control or respect lineWrappingIndentation property
- NoClassDefFoundError: Could not initialize class net.sf.eclipsecs.ui.quickfixes.modifier.ModifierOrderQuickfix
New in Eclipse Checkstyle Plug-in 6.0 (Oct 25, 2014)
- New features that extend API:
- Support of single-line and block comments in parse tree. ANTLR4 grammar for parsing Javadoc comments. Author: Baratali Izmailov. #49
- New features:
- AnnotationLocationCheck. Author: Max Vetrenko. #302
- AtclauseOrderCheck. Author: Max Vetrenko. #306
- JavadocParagraph. Author: Max Vetrenko. #315
- JavadocTagContinuationIndentation. Author: Max Vetrenko. #308
- SingleLineJavadocCheck. Author: Max Vetrenko. #332
- NonEmptyAtclauseDescriptionCheck. Author: Max Vetrenko. #309
- Update for existing JavadocMethodCheck to satisfy Google's style requirements. Author: Max Vetrenko. #319
- Notes:
- Google style is now covered to maxumum of Checkstyle ability. See detailed report here. Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
- All binaries are now compiled by Jdk6. Jdk5 is not supported any more.
New in Eclipse Checkstyle Plug-in 5.7 (Feb 4, 2014)
- New features:
- Support SuppressWarningsFilter to use @SuppressWarnings annotations to suppress violations. Thanks to Trevor Robinson for patch #156.
- New: UniqueProperties check. Thanks to Pavel Baranchikov. #19
- Support for '&' in nested generics. Thanks to dkomanov.
- Allow HeaderCheck definition to be specified as URL. Thanks to tnarake.
- Allow additional URL schemes for SuppressionFilter configuration. Thanks to tnarake.
- Bug fixes:
- added support for a separate throws indentation configuration
- SuppressionCommentFilter ignores messageFormat. Patch from Chris Brigham. #520
- Exclude some java.util classes from Class Fan out. Thanks to Ivan Sopov and Vincent Massol.#31
- Allow to ignore java.lang and certain other classes. Thanks to Ivan Sopov and Vincent Massol.#33
- RequireThisCheck doesn't check methods. Thanks to krzyk.#41
- Document WhitespaceAround for-each property. Thanks to Andrew Gaul.#15
- Other corrections for typos. Thanks to Andrew Gaul.#16
- Remnants of DoubleCheckedLocking were removed. Thanks to Antonio Ospite.
- Notes:
- Improved the performance of FileText construction, which increased file loading times by up to 30%.
- Upgraded dependencies to guava-jdk5 14.0.1 and JUnit 4.11.
- partial fix for "Sonarqube found problems in Checkstyle" #46.
- Remnants of DoubleCheckedLocking were removed. Thanks to Antonio Ospite.
New in Eclipse Checkstyle Plug-in 5.6.1 Build 201306282206 (Jul 4, 2013)
- New and Noteworthy:
- Bugfixes and Eclipse Kepler (4.3) support.
- Fixed Bugs:
- NullPointerException in WriteProtectedFilter
- Typo
- Exception in Juno SR1/M20121121-1200 java.lang.NoSuchMethodError
- Can't access password protected remote checkstyle file
New in Eclipse Checkstyle Plug-in 5.6 (Sep 18, 2012)
- New features:
- SuppressionFilter now supports loading a configuration from a URL reference.
- Bug fixes:
- Fixed bug in the grammer for an edge case.
- DeclarationOrder handles ignoreModifiers correctly (all fields should be before ctors and methods)
- Inner assignment is now allowed in try-with-resources
- Fixed bug in the grammar when built-in types are used in a generic declaration
- Notes:
- Removed the DoubleCheckedLocking check, as in Java 5 (and beyond), using the volatile keyword addresses the issue.
- Added Turkish message translations.
New in Eclipse Checkstyle Plug-in 5.5 (Jul 10, 2012)
- New features:
- Added Java 7 support to the grammar.
- Bug fixes:
- Fix parsing error unexpected char: 0xFFFF which was triggered when a comment line is on a line with out newline character.
- Fixed UnusedImports to consider @linkplain, @throws and @exception tags when the option processJavadoc is turned on.
- RequireThis now ignores static members (bug #1155921).
- HiddenField now treats setxYz() as a setter for xYz, and setXYz() as a setter for XYz property to comply JavaBeans specification (bug #3370946).
- Fixed parsing errors for Unicode escape sequences.
- ignoreEnhancedForColon property added to WhitespaceAround.
New in Eclipse Checkstyle Plug-in 5.4 (Jul 10, 2012)
- New features:
- Enhanced UnusedImports to have the option processJavadoc to detect whether imports are used.
- Enhanced MagicNumber to support ignoring numbers in annotation declarations.
- Enhanced EqualsAvoidNull to process String.equalsIgnoreCase() invocations (which can be suppressed).
- Enhanced IllegalThrows to support ignoring methods with specified names.
- Enhanced RedundantModifier to support detecting inner interface declarations that are declared as static.
- Enhanced the ANT task, Command Line and Suppression Filter to be able to load their configuration file from either the filesystem or the classpath as a resource.
- Bug fixes:
- Fix MultipleVariableDeclarations to properly handle when multiple variable declarations are inside a for loop initializer.
- Fix memory leak in FileContentsHolder.
New in Eclipse Checkstyle Plug-in 5.3 (Jul 10, 2012)
- New features:
- Added OuterTypeFilename that checks that the outer type name and the file name match. For example, the class Foo must be in a file named Foo.java.
- Enhanced PackageDeclaration to optionally check that the package name matches the name of the directory containing the file.
- Added NestedForDepth that restricts nested for blocks to a specified depth (default = 1).
- Added MethodCount that checks the number of methods declared in each type. This includes the number of each scope (private, package, protected and public) as well as an overall total.
- Added OneStatementPerLine that checks there is only one statement per line.
- Enhanced MagicNumber to support the parameter ignoreHashCodeMethod to ignore magic numbers in hashCode() methods.
- Enhanced AbstractClassName to support checking that matching classes have the abstract modifier.
- Enhanced the property types stringSet and intSet to support being supplied multiple times to construct the equivalent of a comma separated list.
- Enhanced AvoidStarImport to support the properties allowClassImports and allowStaticMemberImports for finer control over what is allowed.
- Bug fixes:
- Fix JavadocMethod checking of @throws tags for methods that throw multiple non-runtime exceptions.
- Fix HideUtilityClassConstructor to handle empty and inner classes.
- Notes:
- Changed the default value of the property logLoadErrors to be true for the checks RedundantThrows and JavadocMethod to ensure consistent behaviour.
New in Eclipse Checkstyle Plug-in 5.2 (Jul 10, 2012)
- New features:
- Enhanced DeclarationOrder to support properties to ignore constructors, methods and modifiers.
- Enhanced WriteTag to support empty tags, and constructor declarations.
- Added InnerTypeLast to check nested (internal) classes/interfaces are declared at the bottom of the class after all method and field declarations.
- Enhanced ImportOrder to support using regular expressions for defining groups.
- Bug fixes:
- Fixed ImportOrder to have the sort behavior as in release 5.0. (bug #2952881). Thanks to Steve McKay for patch #2953936.
- Fixed JavadocStyle not handling package declarations that have annotations. (bug #2911363)
- Notes:
- Converted the build system to Maven. The directory structure has been maintained for now, rather than adopting Maven's standard directory layout . This will change once Maven has been proven.
- The Maven changed to be com.puppycrawl.tools (from checkstyle).
- Introduced FileText to provide more flexibitily on how the contents of a file are represented. This allows for Checkers that wish to operate on a single character sequence instead of a list of lines.
- Updated third party dependencies to the latest versions. See Project Dependencies for details.
- Made the method EmptyBlockCheck.hasText(DetailAST) protected so that it is accessible to subclasses.
New in Eclipse Checkstyle Plug-in 5.1 (Jul 10, 2012)
- New features:
- Enhanced ImportOrder check to support wildcard ('*') groups. Thanks to Steve McKay for patch #2891032.
- Enhanced the naming checks ConstantName, MemberName, MethodName and StaticVariableName to utilise the access control tuning features of AbstractAccessControlNameCheck. Thanks to Steve McKay for patch #2893581.
- Improve ConfigurationLoader to use a InputSource. Thanks to Martin von Gagern for patch #2782627.
- Enhanced the ImportControl check to support regular expressions. Thanks to lbaeumer for patch #2937442.
- Bug fixes:
- Corrected build errors on javadoc generation. Thanks to Martin von Gagern for providing a patch (patch #2782630).
- Corrected javadoc in TokenTypes class for UNARY_PLUS and UNARY_MINUS members (bug #2745145).
- Corrected broken link in WhiteSpaceAround documentation (bug #2745287).
- Corrected pad policy documentation for MethodParamPad (bug #2775402).
- Added correct license information for referenced source files (bug #2778850).
- Updated documentation for writing checks (bug #2783451).
- Report unused Javadoc tags with no trailing whitespace(bug #2506962). Thanks to Ashlesha Patil for patch #2781021.
- Enhanced JavadocType check to handle and report on unknown Javadoc tags. The property allowUnknownTags can be set to ignore errors. (bug #2882261)
- Notes:
- Updated dependencies: Updated google collections to version 1.0.
- Updated documentation: Added links for 3rd party tools.
New in Eclipse Checkstyle Plug-in 5.0.2 (Nov 4, 2009)
- This is a small bugfix update for some minor issues encountered with 5.0.1.
- The experimental m2eclipse integration plugin was removed from this release because of not being up to date with the current m2eclipse release(s).