You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Corey Tripp (JIRA)" <ji...@apache.org> on 2007/10/22 17:25:50 UTC
[jira] Created: (LANG-361) BooleanUtils toBooleanObject javadoc
does not match implementation
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
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.
[jira] Updated: (LANG-361) BooleanUtils toBooleanObject javadoc
does not match implementation
Posted by "Corey Tripp (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (LANG-361) BooleanUtils toBooleanObject javadoc does
not match implementation
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-361.
------------------------------
Resolution: Fixed
Thanks Corey, I've applied the change to trunk:
svn ci -m "Applying Corey Tripp's javadoc fix from LANG-361" BooleanUtils.java
Sending BooleanUtils.java
Transmitting file data .
Committed revision 587395.
> 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.