commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <>
Subject [jira] Closed: (LANG-527) NumberUtils toXXX should document default null
Date Mon, 07 Sep 2009 05:28:57 GMT


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

View raw message