Sourced from com.puppycrawl.tools:checkstyle's releases.
checkstyle-10.18.0
Checkstyle 10.18.0 - https://checkstyle.org/releasenotes.html#Release_10.18.0
Breaking backward compatibility:
#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: LeadingAsteriskAlignCheckBug 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
... (truncated)
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 File