commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haiyang li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1072) two "ox" check in createBigInteger in NumberUtils
Date Tue, 02 Dec 2014 23:47:14 GMT
haiyang li created LANG-1072:
--------------------------------

             Summary: two "ox" check in createBigInteger in NumberUtils
                 Key: LANG-1072
                 URL: https://issues.apache.org/jira/browse/LANG-1072
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.math.*
    Affects Versions: 3.3.2
            Reporter: haiyang li
            Priority: Minor
             Fix For: Discussion


I think there is typo in below line:

{code:title=Bar.java|borderStyle=solid}
 if (str.startsWith("0x", pos) || str.startsWith("0x", pos)) { // hex
            radix = 16;
            pos += 2;
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message