Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce injection #236

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Reduce injection #236

merged 1 commit into from
Dec 24, 2024

Conversation

elharo
Copy link
Contributor

@elharo elharo commented Dec 19, 2024

I've started to wonder if anything is gained by injecting everything or if this is just another symptom of the AbstractFactoryProviderFactoryProvider antipattern Java is notorious for. In the case of ZipArchiver there's exactly one implementation which is an empty class that extends AbstractZipArchiver. That truly is needless abstraction and cargo cult thinking that every class needs an abstract superclass, though fixing that would have to be done in Plexus.

@elharo elharo marked this pull request as ready for review December 20, 2024 09:56
@elharo elharo requested a review from slachiewicz December 24, 2024 14:08
@elharo elharo merged commit 1001771 into master Dec 24, 2024
53 checks passed
@elharo elharo deleted the deinject branch December 24, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants