commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-457) NumberUtils createNumber thows a StringIndexOutOfBoundsException when only an "l" is passed in.
Date Mon, 08 Sep 2008 20:23:44 GMT

    [ https://issues.apache.org/jira/browse/LANG-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629275#action_12629275
] 

James Carman commented on LANG-457:
-----------------------------------

What would you rather it do?  Perhaps IllegalArgumentException?

> NumberUtils createNumber thows a StringIndexOutOfBoundsException when only an "l" is
passed in.
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-457
>                 URL: https://issues.apache.org/jira/browse/LANG-457
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: Waldo Rochow
>
> Seems to be similar to LANG-300, except that if you don't place a digit in front of the
"l" or "L" it throws a StringIndexOutOfBoundsException instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message