Skip to content

2.19.0.4327

Compare
Choose a tag to compare
@johann-beleites-sonarsource johann-beleites-sonarsource released this 30 Nov 15:45
· 131 commits to master since this release
4ef3a83

Release notes - SonarKotlin - 2.19

False-Positive

SONARKT-367 FP on S6517 for sealed interfaces

SONARKT-369 FP S2097 check don't consider when as a test type

New Feature

SONARKT-286 Implement rule S6619: Null checks should make sense

SONARKT-299 Implement rule S3353: Var should be val

SONARKT-301 Implement rule S6524: Collection should be immutable if contents is not changed

SONARKT-302 Implement rule S6526: Abstract class should be interface

SONARKT-303 Implement rule S6527: Function chain using "filter" should be simplified

SONARKT-304 Implement rule S6528: "find" should be replaced with "any", "none" or "contains"

Improvement

SONARKT-368 Stop raising issues when toString not implemented in rule S6218