github SonarSource/sonar-java 7.28.0.33738

latest releases: 8.3.0.36747, 8.2.0.36672, 8.1.0.36477...
10 months ago

Release notes - SonarJava - 7.28

Bug

SONARJAVA-4540 Support Record's Compact Constructors in the MethodTreeImpl#getLine

SONARJAVA-4691 S6804 should not fail to process value annotations with named arguments

Documentation

SONARJAVA-4688 Update rule title S6809

False-Positive

SONARJAVA-4680 FP on S4684 when using @AuthenticationPrincipal annotation for request mapping parameters

New Feature

SONARJAVA-4650 Implement S6817: Use of the @async annotation on methods declared within a @configuration class in Spring Boot

SONARJAVA-4654 Implement S6818: Avoid Using "@Autowired" on Multiple Constructors in a Spring Component

SONARJAVA-4676 Implement rule S6829: @Autowired should be used when multiple constructors are provided #3350

SONARJAVA-4677 Implement S6830: Bean names should adhere to the naming conventions

SONARJAVA-4678 Implement S6831: @qualifier should not be used on @bean methods

SONARJAVA-4679 Implement S6833: @controller should be replaced with @RestController

SONARJAVA-4681 Implement rule S6832: Non-singleton Spring beans should not be injected in a Singleton bean

SONARJAVA-4682 Implement S6816: Nullable injected fields and parameters should provide a default value

SONARJAVA-4683 Implement S6837: Superfluous "@responsebody" annotations should be removed

Task

SONARJAVA-4662 Update Rules Metadata and External Linters Metadata

Don't miss a new sonar-java release

NewReleases is sending notifications on new releases.