You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/01/09 18:19:00 UTC

[jira] [Created] (MNG-7999) Review components with unused members

Tamas Cservenak created MNG-7999:
------------------------------------

             Summary: Review components with unused members
                 Key: MNG-7999
                 URL: https://issues.apache.org/jira/browse/MNG-7999
             Project: Maven
          Issue Type: Task
          Components: Core
            Reporter: Tamas Cservenak
             Fix For: 4.0.x-candidate


I found at least two components:
* org/apache/maven/lifecycle/DefaultLifecycleExecutor
* org/apache/maven/lifecycle/internal/LifecycleStarter

but I bet there are more...

Given clients should _inject_ and not manually instantiate components, ctor changes should be hidden from them (managed by DI). Hence, changes like these are "safe" as long as client code "plays by the rules".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)