Update checkstyle to v13.6.0#9485
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.5.0→13.6.0Release Notes
checkstyle/checkstyle (com.puppycrawl.tools:checkstyle)
v13.6.0Compare 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.
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.