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

Description

Implement the rule specified in https://github.com/SonarSource/rspec/pull/3350 by following the instructions defined in https://github.com/SonarSource/rspec#4-implement-the-rule

Raise an issue when multiple constructors are defined for classes annotated with @Component, @Service, @Repository, or @Controller, and none of the constructors is annotated with @Autowired.

Activity

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Sentry

Created October 23, 2023 at 2:29 PM
Updated October 16, 2024 at 2:11 PM
Resolved November 2, 2023 at 8:33 AM

Flag notifications