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

Paul Benedict closed LANG-527.
------------------------------

    Resolution: Invalid

My fault. The default is not an object, so it's impossible to get null back. A 
shame.

> NumberUtils toXXX should document default null
> ----------------------------------------------
>
>                 Key: LANG-527
>                 URL: https://issues.apache.org/jira/browse/LANG-527
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.4
>            Reporter: Paul Benedict
>            Priority: Minor
>
> The API docs for the toXXX methods that accept a default do not explicitly 
> spell out that null may be a default value. Only null is shown for the first 
> parameter, but if you want to return nothing if the first is nothing or 
> malformed, the second can be null.

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

Reply via email to