You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/01/12 23:17:57 UTC

[jira] Updated: (MNG-4970) DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup

     [ http://jira.codehaus.org/browse/MNG-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-4970:
-----------------------------------

    Summary: DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup  (was: DefaultArtifactVersioning.getNextIntegerToken() in maven-artifact-plugin causes lots of IllegalArgumentException on startup)

> DefaultArtifactVersion.getNextIntegerToken() in maven-artifact causes lots of IllegalArgumentException on startup
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4970
>                 URL: http://jira.codehaus.org/browse/MNG-4970
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.1
>            Reporter: Paul Hammant
>
> This is because it calls Integer.parseInt().  Of course it catches that, but I'm trying to debug in IDEA other causes of IllegalArgumentException in my app, and your zillion throw/catch/consume is not helping me.
> Perhaps you could do a string.charAt(i).isDigit() mechanism instead please ?

-- 
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