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

Corey Tripp updated LANG-361:
-----------------------------

    Attachment: BooleanUtils-toBooleanObject-javadoc.patch

Here's a patch to the change the javadoc description for the BooleanUtils 
method toBooleanObject(String, String, String, String) so that it better 
describes the behavior of the method.  The patch is against the current trunk 
version of BooleanUtils (r587117).

> BooleanUtils toBooleanObject javadoc does not match implementation
> ------------------------------------------------------------------
>
>                 Key: LANG-361
>                 URL: https://issues.apache.org/jira/browse/LANG-361
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Corey Tripp
>            Priority: Trivial
>             Fix For: 2.4
>
>         Attachments: BooleanUtils-toBooleanObject-javadoc.patch
>
>
> The javadoc description for the BooleanUtils method toBooleanObject(String, 
> String, String, String) states that it returns null if the input string does 
> not match the true, false, or null string values.  However, the 
> implementation throws and IllegalArgumentException when the input string does 
> not match the other string values.

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