Skip to content

FINERACT-2684: Update dependency com.puppycrawl.tools:checkstyle to v14 - #6407

Open
renovate-bot wants to merge 1 commit into
apache:developfrom
renovate-bot:renovate/com.puppycrawl.tools-checkstyle-14.x
Open

renovate-bot wants to merge 1 commit into
apache:developfrom
renovate-bot:renovate/com.puppycrawl.tools-checkstyle-14.x

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.puppycrawl.tools:checkstyle (source) 13.4.2 → 14.3.0 age confidence

Release Notes

checkstyle/checkstyle (com.puppycrawl.tools:checkstyle)

v14.3.0

Checkstyle 14.3.0 - https://checkstyle.org/releasenotes.html#Release_14.3.0

New:

#​14120 - Make Checkstyle an java module with module-info.java.

v14.2.0

Checkstyle 14.2.0 - https://checkstyle.org/releasenotes.html#Release_14.2.0

New:

#​19513 - ModifiedOrder: New property modifierOrder.
#​17723 - WhitespaceAfter: new token SINGLE_LINE_COMMENT to catch missing whitespace checks around // comments.
#​8312 - NoWhitespaceAfter: Allow for use of DO_WHILE, LITERAL_CATCH, LITERAL_FOR, LITERAL_IF, and LITERAL_WHILE.
#​17172 - AnnotationLocation new token MODULE_DEF. Google-style: incomplete coverage on annotation rules for modules.
#​14986 - New Check UnnecessaryPermitsClause.
#​7541 - new Check: GoolgeRightCurly.
#​19949 - New check: JavadocSeeTagOrder.
#​20639 - new Check: OpenjdkMethodThrowsAlignment.

Bug fixes:

#​17663 - Indentation: missing violations for '->' and ',' in return statement continuation.
#​20541 - False Positive: Lambda is incorrectly flaged by OperatorWrap.
#​21739 - UnusedLocalVariable: false positive on unnamed variable _ inside anonymous class.
#​21613 - False negative: UnusedTryResourceShouldBeUnnamed treats same-named identifiers in catch/finally blocks as resource usage.
#​21695 - openjdk style: use custon modifierOrder at RedundantModifier.
#​21689 - Add GoogleRightCurly to google_checks.xml instead of RightCurly.
#​10924 - All checks that use AbstractCheck#getLine() should check code points instead of characters for spacing.
#​21139 - Performance: Avoid duplicate regex match in SuppressFilterElement.isFileMatch.
#​21528 - Add checks for Sun Style [4.2 - Wrapping Lines].
#​21578 - False Negative: LambdaParameterName silently passes lambdas in switch rule.
#​21579 - False Negative: NeedBraces silently passes lambdas in switch rule.
#​5895 - CLI XML output file: file stops dead when an execption occurs.
#​11410 - False Negative: LeftCurlyCheck.
#​21583 - Update Documentation Comments Style Guide: add JavadocSeeTagOrder.
#​21609 - NPE in RightCurlyCheck.
#​19724 - google_checks.xml: JavadocMethod accessModifiers should include protected to match MissingJavadocMethod scope.
#​20963 - False negative in LeftCurly for types with option=eol.
#​21547 - add OpenjdkMethodThrowsAlignment check in openjdk_checks.xml.
#​20636 - False negatives regarding LeftCurly in openjdk_checks.xml.
#​17170 - Google-style: unfollowed rule on ordering and spacing of module directives.
#​21454 - google_checks.xml: false negative 4.3 One statement per line.
#​21501 - CommonUtil.getFileExtension includes parent-directory dots in the extension.
#​21445 - google_checks.xml: false negative 3.3.1.1 No module imports.
#​21477 - Add checks for Sun Style [4.1 - Line Length].
#​21444 - google_checks.xml: false negative 3.2 Package declaration.
#​21478 - SuppressWarningsCheck: StringIndexOutOfBoundsException on string concatenation or cast inside a ternary in @SuppressWarnings.
#​21430 - Add checks for Sun Style 6.3 - Placement.
#​21453 - SuppressionSingleFilter should not suppress anything in default configuration.
#​21446 - google_checks.xml: false negative 2.3.1 Whitespace characters.
#​17662 - OneStatementPerLine: multiple empty statements not reported despite documentation.
#​20525 - escape control characters in generated xpath suppression queries.

Other Changes:
Improve Input coverage for compact sources (JEP 512) for all Checks.
IndentationCheck: inner Handlers should not have reference to Check itself.
Update tests to use embedded configs instead of old style verify.
ModifierOrder check documentation cites JDK 16 preview spec instead of the Java Language Specification.
lychee reports 9 broken external links on master (surfaced post-#​21728).
Competing archive and filename redirects for legacy release-notes links.
doc: remove stale blue from google-style coverage.
Define violation messages for all violations.
Forbid mockito imports via ImportControl check.
Refactor JavadocLeadingAsteriskAlign to use logging of violation on AST node.
Fix examples with duplicate violation behavior.
Homepage example code for AvoidStarImport has invalid syntax (java.util..*).
Add workflow_dispatch for github actions that is triggering by comment in PR.
Migrate Windows CI from AppVeyor to GitHub Actions windows-latest.
Update all filters documentation and javadoc to mention that accept() that return true means violation will be in report.
Table-of-contents sidebar link uses full sentence instead of short label (e.g. SeverityMatchFilter page).
moving english.words to git repo to avoid network instabilities.
doc: remove stale reference to closed issue in google-style.xml.
All messages should be declared in Check.
Broken operator precedence in release-notes redirect guard.
Fix PMD violation CognitiveComplexity.
Enforce file size on Java inputs.
Move SQE NetBeans integration from Active Tools to Inactive or Old Tools.
Fix violation message comments to use quoted text and remove associated suppressions.
Replace multi-line string concatenations with text blocks for better readability.
`checkstyle_checks.xml` should not allow single letter variable names in for loops.
remove openjdk25 excludes for implicitly declared classes.
Enable PMD ExhaustiveSwitchHasDefault.
Fix modules suppressed from the default-config example test.
docs: Google style coverage page missing sample example for 3.4.2.1 Overloads: never split.
docs: Google style coverage page missing sample example for 6.2 Caught exceptions: not ignored.
Add Check Support for Java 21 Pattern Matching for Switch Syntax: CommentsIndentation.
Add Check Support for Java 21 Pattern Matching for Switch Syntax: LeftCurly.
`no-validations` profile no longer skips integration tests since Failsafe 3.6.0.
doc: Add documentation for checkstyle-openrewrite-recipes.
Build setting `surefire.options` ignored.
Fix PMD 7.1.0 Violations.
split google-java-format run into jdk21 and jdk25 jobs.
docs: Google style coverage page update 5.2.9 Unnamed variables.
Resolve all violation reported by PreferCodeOrSnippetJavadocInlineTag.
Update RegexpOnFilenameCheckTest to use embedded configs.
Renumber examples so default-config example is Example1.
Add Use Cases section to packageannotation.xml.template and improve TOC macro validation.
Move violation comments above of annotated methods.
Fix modules with incorrect example count in EXAMPLE_COUNT_SUPPRESSED_MODULES.
Resolve CheckerFramework violations.
Improve rendering of directory structure in JavadocPackage website page.
Fix xdoc IDs for package-info examples.
Update Google Java Style Guide cached page to latest.
Fix release workflow to update release-notes.xml instead of releasenotes.xml.

v14.1.0

Checkstyle 14.1.0 - https://checkstyle.org/releasenotes.html#Release_14.1.0

New:

#​14872 - UnnecessaryParentheses: no violation if casting is present before expression.
#​21163 - SuppressWarnings: no support for module declarations.
#​21161 - NoLineWrap: no support for module declarations.
#​21162 - OpenjdkAnnotationLocation: no support for module declarations.
#​20692 - new Check: ExpressionOverBlockLambda.
#​21062 - New Check: InappropriateJavadocBlockTagsOnField.
#​19967 - New Check: ModuleImportOrder.
#​21063 - New Check: InappropriateJavadocBlockTagsOnPackage.
#​21088 - New Check: ModuleDirectiveOrder.
#​19968 - New Check: AvoidModuleImport.
#​20982 - New check: JavadocEndCommentDelimiter.
#​19885 - New Check: UnnecessaryFullyQualifiedTypeCheck.
#​12596 - Add UnusedPrivateField check for unused private fields.
#​19937 - New check: JavadocLinkFirstOccurrence.
#​20792 - New check: JavadocNoErrorInThrowsTag.
#​21061 - New Check: InappropriateJavadocBlockTagsOnType.
#​19938 - New check: JavadocLinkWellKnownApi.
#​19698 - New check: JavadocThrowsOrderCheck.
#​8990 - New check JavadocParamOrder: to validate method parameter order in javadoc to match parameter order in method.
#​20986 - new Check: PreferCodeOrSnippetJavadocInlineTag.

Bug fixes:

#​21199 - JavadocPackage: false positive "Missing package-info.java file" on module-info.java.
#​4454 - Fix wrong implementation of compareTo in LocalizedMessages.
#​19156 - VariableDeclarationUsageDistance: no violation on variable used in inner class.
#​3885 - FallThrough check doesn't handle infinite loops.
#​21343 - Update Documentation Comments Style Guide: add JavadocEndCommentDelimiter.
#​21331 - False Positive: IllegalInstantiationCheck does not recognize records shadowing java.lang.Boolean.
#​19948 - Update Documentation Comments Style Guide: param description separator.
#​20227 - ClassMemberImpliedModifierCheck: nested enum/interface missing implied static not flagged in compact source files (JEP 512).
#​21336 - Update Documentation Comments Style Guide: add JavadocNoErrorInThrowsTagCheck.
#​20978 - Extend OpenjdkAnnotationLocationCheck to allow Annotation on target line for all single line targets and add check in openjdk_checks.xml.
#​21320 - Update Documentation Comments Style Guide: add JavadocLinkWellKnownApi JavadocLinkFirstOccurrence.
#​21218 - Enable in Doc Comments style guide: JavadocParamOrder and JavadocThrowsOrderare.
#​20555 - WriteTagCheck: first top-level method's Javadoc tags not reported in compact source files (JEP 512).

Other Changes:
Unnecessary suppressions should be reported in ArchUnit tests.
Fix modules with incorrect example count in EXAMPLE_COUNT_SUPPRESSED_MODULES.
Improper indentation in `property_types.html` code snippets.
Naming convention of html pages should be kebab style.
Fix examples with duplicate violation behavior.
Fix violation message comments to use quoted text and remove associated suppressions.
MissingDeprecated: no support for module declarations.
`no-warning-imports-guava` silently fails due to unfound report.
`no-warning-imports-java-design-patterns` silently fails due to unfound report.
OpenCollective URLs returning 403 Forbidden in lychee link checker.
Site workflow comment should also show links to changed Javadoc pages.
Standardize S3 destination paths for uploaded reports.
Resolve all violation reported by PreferCodeOrSnippetJavadocInlineTag.
Add manually triggered workflow to deploy `master` website to AWS.
Update Documentation Comments Style Guide - unchecked exceptions.
Trailing comment examples should have violation hint comments to be not trailing.
Change recommendation from Splitter to String.split() with limit.
doc: document ANTLR report generation workflow.
Make TestInputConfiguration a record.
Renumber examples so default-config example is Example1.
ArrayIndexOutOfBoundsException in EmptyLineSeparatorCheck when comment immediately follows class definition.
Drop nexus-codehaus-snapshot plugin repository.
Move violation comments above of annotated methods.
Optimize lychee external link check to avoid multi-hour runs.
XmlMetaReaderTest avoid hadcoded values of module counts.
Enforce module-info/`<`case`>`/module-info.java folder structure for module-info test inputs.
Violation message escaping is inconsistent.
Fix modules suppressed from the default-config example test.
Investigate and fix broken JavadocTokenTypes.html anchor links in lychee suppressions.
Replace maven-linkcheck-plugin to lychee-maven-plugin for HTML link checking.
Fix missing checkstyle-openrewrite-recipes snapshot dependency.
Move `checkstyle-files-generator` project under the `checkstyle` organization.
Address followup review comments from #​21208 (InvalidJavadocPosition on module Javadoc).
Fix Issues with new landing page.

v14.0.0

Checkstyle 14.0.0 - https://checkstyle.org/releasenotes.html#Release_14.0.0

New:

#​8240 - Java Grammar: module-info.java support.

Bug fixes:

#​21112 - InvalidJavadocPosition: false positive on module-info.java Javadoc.
#​21110 - PackageDeclaration: false positive "Missing package declaration" on module-info.java.

Other Changes:
Resolve Commons Logging incompatibility with XWiki validation.
doc: mention 14.x in JRE matrix and Java 25 language support on index page.
Renumber examples so default-config example is Example1.
Fix modules with incorrect example count in EXAMPLE_COUNT_SUPPRESSED_MODULES.

v13.8.0

Compare Source

v13.7.0

Compare Source

Checkstyle 13.7.0 - https://checkstyle.org/releasenotes.html#Release_13.7.0

New:

#​20357 - UnusedLocalVariable: new property jdkVersion to allow unused named pattern matching variables for pre-Java 22 code.
#​19148 - update MissingJavadocMethodCheck to use AST of javadoc.
#​19144 - update JavadocMethod to use AST of javadoc.
#​19889 - OverloadMethodsDeclarationOrder: new property required to order overloaded methods according to increasing parameter count.

Bug fixes:

#​20395 - Javadoc parse error on @link label containing Java array initializer braces.
#​20452 - Add checks for OpenJDK style §4.6 - Constants.
#​20462 - Fix default property validation in InlineConfigParser.
#​20437 - Add checks for Openjdk style §3.8.3 - Wrapping Expressions.
#​19629 - Add checks for OpenJDK Style §3.5 - Modifiers.
#​20428 - Add checks for OpenJDK §3.4 - Class structure.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​20271 - UnnecessarySemicolonAfterTypeMemberDeclarationCheck: trailing semicolon after nested type not flagged in compact source files (JEP 512).
#​20223 - DeclarationOrderCheck: declaration order not enforced on top-level members in compact source files (JEP 512).
#​20219 - AnnotationLocationCheck: annotation on top-level variable not flagged in compact source files (JEP 512).
#​19805 - Add checks for OpenJDK Style §3.4.1 - Order of Constructors and Overloaded Methods.
#​20269 - UnnecessarySemicolonAfterOuterTypeDeclarationCheck reports false positive on JEP 512 compact source files.
#​20391 - Javadoc parse error while parsing formatted @value.
#​19915 - Documentation Comments Style Guide - Required Tags.
#​19972 - RequireThisCheck: NullPointerException on compact source files (JEP 512).
#​20385 - Add checks for OpenJDK Style §4.2 - Class, Interface and Enum Names.
#​20217 - InvalidJavadocPositionCheck: false positive on correctly-placed Javadoc in compact source files (JEP 512).
#​20093 - Add checks for OpenJDK Style §3.13 - Redundant Paranthesis.
#​20268 - OuterTypeNumberCheck reports false positive on JEP 512 compact source files.
#​20283 - Javadoc parse error for generic outer class inner-class link.
#​19835 - Documentation Comments Style Guide - First Sentence.

Other Changes:
Updating properties in Input files to mention all default properties.
Remove CirrusCI since it has shut down.
Move violation comments out of Javadoc for all input files.
Enforce file size on Java inputs.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Use violation message pattern 'first line'.
Xdocs examples should reject violation comments between annotations and declarations.
Add client-side search functionality to Checkstyle documentation website.
Move violation comments above of annotated methods.
Update XdocsPagesTest for sun_checks.xml to use chapterwise testing.
doc: removed contribution guidelines in CONTRIBUTING.md and fixed build instructions hyperlink in README.md.
Add 'first line' and 'last line' violation hint patterns to InlineConfigParser.
Organize openrewrite staticanalysis composite recipes by groups as it is done on openrewrite website.

v13.6.0

Compare Source

Checkstyle 13.6.0 - https://checkstyle.org/releasenotes.html#Release_13.6.0

New:

#​19813 - ConstructorsDeclarationGroupingCheck: new property required to order constructors according to increasing arity.
#​20109 - NoLineWrap: false negative for wrapped 'import module' (MODULE_IMPORT) declarations.

Bug fixes:

#​20216 - MagicNumberCheck: NullPointerException on compact source files when ignoreFieldDeclaration=true (JEP 512).
#​20292 - percent-encode double quote in SarifLogger file uri.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​19926 - Documentation Comments Style Guide - validate Default Constructors.
#​20206 - Javadoc parser error on openjdk source java/lang/Character.java.
#​20215 - EmptyLineSeparatorCheck: NullPointerException on compact source files with adjacent top-level members (JEP 512).
#​20273 - Javadoc parser problems.
#​19973 - FinalLocalVariableCheck: NullPointerException on compact source files (JEP 512).
#​20267 - ModifiedControlVariableCheck: NullPointerException on compact source files (JEP 512).
#​20303 - minor: escape file name in generated suppression files.
#​20212 - MissingOverrideCheck: NullPointerException on compact source files when javaFiveCompatibility=true (JEP 512).
#​20214 - MissingOverrideOnRecordAccessorCheck: NullPointerException on compact source files (JEP 512).
#​20210 - MethodNameCheck: NullPointerException on compact source files (JEP 512).
#​20213 - UnusedLocalVariableCheck: NullPointerException on compact source files with a top-level field (JEP 512).
#​19734 - Add checks for OpenJDK Style - Wildcard Imports.
#​19908 - PackageDeclarationCheck reports false positive on JEP 512 compact source files.
#​19909 - OuterTypeFilename reports false positive on JEP 512 compact source files.
#​20111 - EmptyLineSeparator: false negative for 'import module' (MODULE_IMPORT) followed by a type declaration.
#​15085 - Extend UnusedLocalVariable to support pattern variables.
#​20108 - Indentation: false negative for 'import module' (MODULE_IMPORT) declarations are never checked.
#​17810 - JDK 25, JEP 512: Compact Source Files and Instance Main Methods not supported.

Other Changes:
Documentation Comments Style Guide - Location of doc images in source tree.
Move violation comments out of Javadoc for all input files.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Document unsupported/missing ParenPad cases under Use Cases section.
XdocsExamplesAstConsistencyTest: false AST mismatch for superclass name in extends clause of ExampleN classes.
Add support for complete HTML violation report generation for target projects.
Require compilation comments in noncompilable test inputs.
Move violation comments above of annotated methods.
XdocsExamplesAstConsistencyTest`: false positive "Comments mismatch" in `extractComments`.
Infrastructure: CI failure in PRs due to Eclipse Static Analysis's compiler update (R-4.38).
`XdocsExamplesAstConsistencyTest` currently misses three classes of inconsistency between xdoc example files that share the same check configuration.
Example 2 in regexp page should have config.
remove all numbers from all names in openjdk style.
remove all numbers from all names in doc style style.
Documentation Comments Style Guide - Implementation Independence, Automatic re-use of method comments.
diff report generation workflow should use local repository style configs.
AbbreviationAsWordInName doc should have horizontal line after above example description.
Resolve warnign in markdow files.
Semaphore CI has periodic problems to download SDKMAN.

v13.5.0

Compare Source

Checkstyle 13.5.0 - https://checkstyle.org/releasenotes.html#Release_13.5.0

New:

#​19496 - AvoidStarImport: new property maxAllowedStarImports to allow atmost one star import in a file.
#​14782 - LITERAL_DEFAULT token support in RightCurlyCheck.
#​15484 - New Check UnusedTryResourceShouldBeUnnamed.

Bug fixes:

#​17697 - Google style: Disallow comments enclosed in boxes.
#​19641 - Add checks for OpenJDK Style §3.10 - Variable Declarations.
#​19640 - Add checks for OpenJDK Style §4.1 - Package Names.
#​18227 - Extend TextBlockGoogleStyleFormatting to check indentation of each line in the blocks.
#​19770 - JavadocTypeCheck incorrectly matches record component @param tags using prefix instead of exact match.
#​17052 - Add support for flexible constructor bodies (JEP 513) targeted for JDK25.
#​17464 - RequireThis false positive inside annotation definition.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​17203 - PatternVariableAssignment check false negative when pattern variable extends beyond the statement of introduction.
#​19716 - False Negative: SimplifyBooleanExpression does not report with paranthesized boolean literals in ternary operators.
#​19617 - Add checks for OpenJDK Style §2 - Java Source Files.
#​17253 - Google-style: Illegal to break the line before or after the lambda arrow.
#​19149 - update MissingJavadocTypeCheck to use AST of javadoc.
#​2629 - IndentationCheck: incorrect validation for class definition.
#​5685 - Indentation: false positive for try child on the same line.
#​11822 - RequireThisCheck giving multiple violation for classes nested in lambdas.
#​19622 - Add checks for OpenJDK Style §3.2 - Package declaration.

Other Changes:
Confused supression of Indentation in google_checks.
Remove chapter numbers from Doc Comments Coverage Page.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Move violation comments out of Javadoc for all input files.
`Regexp` check for unnecessary `// ok` comments is configured under `TreeWalker`.
google_style.xml: support multiple config links per rule entry in XdocsPagesTest.
missing description of blue-tick checks at google style coverage page.
False Negative: FinalLocalVariableCheck does not report for variables assigned in adjacent catches.
Cached page of Documentation style guide should be open in mobile browser in easy to read rendering.
Documentation Comments Style Guide - Images in HTML Destination.
Documentation Comments Style Guide - `@`author.
AbbreviationAsWordInName doc should have horizontal line after above example description.
Remove Chapter number from openjdk_checks.xml file.
resolve Qodana inspections in Javadoc and test utilities.
NoClassDefFound Exception during compilation on jdk25.
review suppresions of org.openrewrite.staticanalysis.CodeCleanup.
Website warnings in maven output: Anchor name used more than once.
Add Oracle Doc Comments Style Guide coverage infrastructure.
Improve design of PropertiesMacros.
inner lambdas right curly idented too much on left to much same ident as wrapper statement.
Move violation comments above of annotated methods.
Violate all inlined violations that are placed in between method singature and annoation or javadoc.
Resolve CheckerFramework violations.
Trigger linkcheck by Github comment.
Organize openrewrite staticanalysis composite recipes by groups as it is done on openrewrite website.
Test extension: Variables `&` Patterns Syntax: Indentation.
Error in bash method does not stop execution of whole command.
Parsing problem detected by CI at jdk25/test/jdk/jdk/jfr/event/tracing/TestConstructors.java.
Remove UnmodifiableCollectionUtil and use pitest funmodifiablecollection feature.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate Bot added the renovate https://renovate.whitesourcesoftware.com [FINERACT-962] label Sep 7, 2026
@renovate-bot
renovate-bot force-pushed the renovate/com.puppycrawl.tools-checkstyle-14.x branch from 3e97522 to 7ef5208 Compare September 7, 2026 18:13
@renovate-bot
renovate-bot force-pushed the renovate/com.puppycrawl.tools-checkstyle-14.x branch from 7ef5208 to 2e18c1b Compare September 15, 2026 12:10
@renovate-bot
renovate-bot force-pushed the renovate/com.puppycrawl.tools-checkstyle-14.x branch from 2e18c1b to bf56674 Compare September 24, 2026 09:44
@renovate-bot
renovate-bot force-pushed the renovate/com.puppycrawl.tools-checkstyle-14.x branch from bf56674 to 4bb81d5 Compare September 27, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate https://renovate.whitesourcesoftware.com [FINERACT-962]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant