commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LANG-649) BooleanUtils.toBooleanObject to support single character input
Date Mon, 13 Sep 2010 05:38:33 GMT

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

Henri Yandell closed LANG-649.
------------------------------

    Resolution: Fixed

svn ci -m "Adding t/f and y/n options to toBooleanObject(String). LANG-649"
Sending        src/main/java/org/apache/commons/lang3/BooleanUtils.java
Sending        src/test/java/org/apache/commons/lang3/BooleanUtilsTest.java
Transmitting file data ..
Committed revision 996421.

Given that we handle yes/no and true/false, I don't think y/n and t/f are much of a leap and
they don't add much code maintenance wise. Supporting different locales however is a whole
different kettle of fish.


> BooleanUtils.toBooleanObject to support single character input
> --------------------------------------------------------------
>
>                 Key: LANG-649
>                 URL: https://issues.apache.org/jira/browse/LANG-649
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Henri Yandell
>             Fix For: 3.0
>
>
> BooleanUtils.toBooleanObject could be supporting t/f and y/n.

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


Mime
View raw message