commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (LANG-649) BooleanUtils.toBooleanObject to support single character input
Date Wed, 01 Sep 2010 20:43:56 GMT


Sebb commented on LANG-649:

There's already a method which allows for arbitrary values of true and false strings:

toBooleanObject(String str, String trueString, String falseString, String nullString)

I don't think the method toBooleanObject(String str) should support anything other than EN/US

However, if it is changed, then one should probably change toBoolean(String str) as well.

> BooleanUtils.toBooleanObject to support single character input
> --------------------------------------------------------------
>                 Key: LANG-649
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>            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.

View raw message