You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/11/05 17:33:44 UTC
[jira] Closed: (LANG-457) NumberUtils createNumber thows a
StringIndexOutOfBoundsException when only an "l" is passed in.
[ https://issues.apache.org/jira/browse/LANG-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-457.
------------------------------
Resolution: Fixed
svn ci -m "Applying test/fix from LANG-457 - getting a StringIndexOutOfBounds from createNumber rather than a NumberFormatException"
Sending src/java/org/apache/commons/lang/NumberUtils.java
Sending src/test/org/apache/commons/lang/NumberUtilsTest.java
Transmitting file data ..
Committed revision 711605.
> 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
> Fix For: 3.0
>
> Attachments: LANG-457.patch
>
>
> 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.