You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2024/12/05 23:26:09 UTC

Re: [PR] Change @Component to Guice @Inject [maven-reporting-impl]

elharo commented on PR #60:
URL: https://github.com/apache/maven-reporting-impl/pull/60#issuecomment-2521712305

   We can try field injection as an intermediate step but we should get away from this eventually. It makes classes mutable and bypasses the usual object initialization, which is unnecessarily risky. It's also harder to write tests for.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org