ArtifactVersion.parseVersion should not exist (forces impls to be mutable)
--------------------------------------------------------------------------

                 Key: MNG-4911
                 URL: http://jira.codehaus.org/browse/MNG-4911
             Project: Maven 2 & 3
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Jesse Glick
            Priority: Minor


It looks like a design flaw that {{ArtifactVersion.parseVersion}} exists; this 
should just be a private method in {{DefaultArtifactVersion}}, or simply 
inlined into its constructor, so that versions are immutable as one might 
expect. Can submit patch if interested.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to