konveyor / rulesets

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

Create "Configuration class ordering" rule(s) #121

Open jmle opened 2 months ago

jmle commented 2 months ago

According to the migration guide:

Spring Framework 4.2 comes with significant fine-tuning in configuration class processing. There may be subtle differences in the order of registration compared to 4.1; however, those are considered fixes of behaviour that wasn't well-defined previously. If you are relying on a specific order, e.g. for overriding beans by name, please consider using 4.2's new facilities, in particular @Order annotations on config classes.

Investigate and create rules if necessary for this new 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 2 months 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.