commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LANG-457) NumberUtils createNumber thows a StringIndexOutOfBoundsException when only an "l" is passed in.
Date Wed, 05 Nov 2008 16:33:44 GMT

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


Mime
View raw message