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] Updated: (LANG-633) Use same optimization in toBooleanObject(String) as in toBoolean(String str)
Date Tue, 20 Jul 2010 19:09:51 GMT

     [ 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.


Mime
View raw message