#15159 - RedundantModifer Should Violate Final Modifer on Unnamed Variables if jdkVersion GTE 22
#14805 - Remove Support for String Template Syntax
#15082 - LITERAL_WHEN and LAND tokens in switch statements should have EXPR child
New:
#10798 - RedundantModifierCheck: New property 'jdkVersion' to violate strictfp as redundant modifier if version LTE 17
#15062 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: SuppressWarnings
#15027 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAround
#15025 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAfter
#14948 - Add Check Support for Java 21 Record Pattern : ParenPad
#12542 - new Treewalker property to skip all nested Modules if there is parsing exception
#14950 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: UnusedLocalVariable
#14963 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: FinalParameter
#14966 - Add Check Support for Java 21 Record Pattern : MethodParamPad
#14970 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: PatternVariableName
#15015 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: CatchParameterName
#15014 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: LambdaParameterName
#15016 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: IllegalIdentifierName
#15012 - LocalFinalVariableName must include _#15053 - Define severity for google style config by variable
#14946 - Add Check Support for Java 21 Record Pattern : IllegalType
#14981 - False positive in FinalLocalVariable check on unnamed variables
#14907 - Add support to check grouping of Constructors in google style guide implementation
#15059 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: New Check UnusedLambdaParameterShouldBeUnnamed
#15058 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: New Check UnusedCatchParameterShouldBeUnnamed
#14975 - Add Check Support for Java 17 Sealed Classes: New Check SealedShouldHavePermitsList
#14985 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check WhenShouldBeUsed
#14979 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check MissingNullCaseInSwitch
#6723 - new check: LeadingAsteriskAlignCheck
Bug fixes:
#15504 - MissingSwitchDefault false positive on switch expressions when wrapped in return()
#15445 - Update NPathComplexity Check to Account for when expression as a Possible Execution Path
#15429 - Google style: method names should not allow to have '_' unless they are annotated by Test
#15040 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: SimplifyBooleanReturn
#15322 - NeedBraces Check Should violate Switch Expressions with Arrow Syntax That Directly Yields a Value
#15047 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: NPathComplexity
#15045 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: CyclomaticComplexity
#15029 - Update EmptyBlockCheck to Violate Empty Case Blocks with Arrow Syntax
#15123 - MissingSwitchDefault : False positive when case null in switch labeled statement group
#14688 - LocalVariableNameCheck incorrectly flags variables named _ (see JEP456)
#14891 - Add Support for Java 21 Record Pattern : MissingSwitchDefault
#14955 - Remove href from LineLength module property in google style config and update test cases
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| com.puppycrawl.tools:checkstyle | [< 10.15, > 10.14.1] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0.
Release notes
Sourced from com.puppycrawl.tools:checkstyle's releases.
... (truncated)
Commits
ece521c
[maven-release-plugin] prepare release checkstyle-10.18.0aadb50c
doc: release notes for 10.18.03f1fc43
doc: update documentation for jdkVersion property in RedundantModifierCheck8da6f47
Issue #15340: created InputFormatted file for section 3.3.2 No Line Wrapping7a5837f
Issue #15340: created InputFormatted file for section 2.3.1 whitespace charac...5b2b330
Issue #15340: created InputFormatted file for section 7.1.2 Paragraphsd010bda
Issue #15159: RedundantModifierCheck should violate final modifier on unnamed...d32c27b
dependency: bump nl.jqno.equalsverifier:equalsverifier81b0261
Issue #15059: New Check UnusedLambdaParameterShouldBeUnnamedc976754
Issue #15340: created InputFormatted file for section 3 Source FileMost Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | com.puppycrawl.tools:checkstyle | [< 10.15, > 10.14.1] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show