You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2010/07/20 21:09:51 UTC
[jira] Updated: (LANG-633) Use same optimization in
toBooleanObject(String) as in toBoolean(String str)
[ https://issues.apache.org/jira/browse/LANG-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell updated LANG-633:
-------------------------------
Original Estimate: (was: 1h)
Remaining Estimate: (was: 1h)
> Use same optimization in toBooleanObject(String) as in toBoolean(String str)
> ----------------------------------------------------------------------------
>
> Key: LANG-633
> URL: https://issues.apache.org/jira/browse/LANG-633
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 2.5, 3.0, 3.1
> Reporter: Maxx
> Priority: Minor
>
> Regarding optimization made in this method:
> public static boolean toBoolean(String str)
> in order to speed up the execution, why not use the same optimization in this method:
> public static Boolean toBooleanObject(String str)
> Note: the parameter is the same, only the output changes (from true/false to Boolean.TRUE/Boolean.FALSE/null)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.