Elliotte Rusty Harold created MPIR-472:
------------------------------------------

             Summary: ProjectInfoProjectStub constructor reads files and calls 
local methods
                 Key: MPIR-472
                 URL: https://issues.apache.org/jira/browse/MPIR-472
             Project: Maven Project Info Reports Plugin
          Issue Type: Improvement
            Reporter: Elliotte Rusty Harold


This class does more work in its constrcutor than is safe for a constructor to 
do, and can leave objects in unexpected and not fully initialized states. It 
can also throw unexpected, undocumented, and uncaught RuntimeExceptions. 
Consider converting in part to a factory method that can throw context 
appropriate exceptions or otherwise preventing objects in bad states. 



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

Reply via email to