You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by vafada <gi...@git.apache.org> on 2013/05/29 23:14:19 UTC

commons-lang pull request: update BooleanUtils.toBoolean(String str) javado...

GitHub user vafada opened a pull request:

    https://github.com/apache/commons-lang/pull/6

    update BooleanUtils.toBoolean(String str) javadoc to reflect changes 

    the update to 2.4 to 2.6, particularly LANG-633 broke how BooleanUtils.toBoolean(String str) works.
    
    apache 2.4 BooleanUtils.toBoolean("Y") = false 
    
    apache 2.6 BooleanUtils.toBoolean("Y") = true 
    
    this pull request updates the javadoc for BooleanUtils.toBoolean(String str)  and BooleanUtils.toBooleanObject(final String str)
    
    basically these two method now accepts the following strings "y", "n", "t", "f" (case insensitive)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vafada/commons-lang trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/6.patch

----
commit fc213473feb6515cb7f4fce0519382dd9db14b9d
Author: Mark Yu <va...@gmail.com>
Date:   2013-05-29T21:06:37Z

    update BooleanUtils.toBoolean(String str) javadoc to reflect changes to 'y', 't', 'n', 'f'

----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org