konveyor / rulesets

Collections of static code analysis rules
Apache License 2.0
1 stars 19 forks source link

Investigate and create if necessary "Injection points declared as Collection, Map or array" rule(s) #124

Open jmle opened 1 month ago

jmle commented 1 month ago

According to the migration guide:

Spring 4.3 refines autowiring support for beans which are declared as a Collection, Map or array type, matching them by type against injection points of a compatible type directly. This support lives side by side with Spring's existing support for finding beans by the element/value type of a declared Collection, Map or array injection point. There might be subtle side effects if custom application context arrangements rely on Collection/Map beans not matching directly.

Investigate and create rules if necessary for this new default behaviour.

In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

konveyor-ci-bot[bot] commented 1 month ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.