Skip to content

Conversation

@Pankraz76
Copy link
Contributor

@Pankraz76 Pankraz76 commented Jun 4, 2025

@Pankraz76 Pankraz76 changed the title evolve Binding to Comparable following solid design patterns avoiding redundancies leveraging OOP Fix sorted bindings evolve Binding to comparable to prevent feature envy following SOLID, leveraging OOP Jun 4, 2025
@Pankraz76 Pankraz76 changed the title evolve Binding to comparable to prevent feature envy following SOLID, leveraging OOP evolve Binding to comparable to prevent feature envy Jun 4, 2025
@Pankraz76 Pankraz76 changed the title evolve Binding to comparable to prevent feature envy evolve Binding to comparable Jun 4, 2025
@Pankraz76 Pankraz76 changed the title evolve Binding to comparable centralize domain comparison logic Binding#getPriorityComparator Jun 4, 2025
@Pankraz76 Pankraz76 force-pushed the fix-sortedBindings branch from 8f82a5e to b58df1c Compare June 4, 2025 07:34
@Pankraz76 Pankraz76 requested review from gnodet and rmannibucau June 4, 2025 07:35
@Pankraz76 Pankraz76 marked this pull request as ready for review June 4, 2025 07:37
@Pankraz76 Pankraz76 changed the title centralize domain comparison logic Binding#getPriorityComparator [MNG-8764] centralize domain comparison logic Binding#getPriorityComparator Jun 4, 2025
@Pankraz76
Copy link
Contributor Author

merci.

@Pankraz76 Pankraz76 force-pushed the fix-sortedBindings branch from b58df1c to a2c4072 Compare June 4, 2025 09:21
# Conflicts:
#	impl/maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java
@gnodet gnodet added this to the 4.0.0-rc-4 milestone Jun 4, 2025
@gnodet gnodet merged commit f7b1a2e into apache:master Jun 4, 2025
19 checks passed
@Pankraz76
Copy link
Contributor Author

Pankraz76 commented Jun 4, 2025

this is what functional programming aka. clean code (uncle bob) ends up to. Simply OOP, as the functions are delated to some kind of domain classification, in my very limited understanding.

If this method has missing override annotation, or not, changes not so much arch-design wise.

Its a method at the end. Where it comes from, interface or custom, is random impl. detail again.

Thanks for having SSOT, following SOLID. End up to all the principles, as jamming in the same direction.

@jira-importer
Copy link

Resolve #9344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants