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] [Updated] (LANG-1072) Duplicated "ox" check in createBigInteger in NumberUtils
Date Tue, 02 Dec 2014 23:48:15 GMT

     [ https://issues.apache.org/jira/browse/LANG-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

haiyang li updated LANG-1072:
-----------------------------
    Summary: Duplicated "ox" check in createBigInteger in NumberUtils  (was: two "ox" check
in createBigInteger in NumberUtils)

> Duplicated "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=NumberUtils.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