You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jongjin Bae (Jira)" <ji...@apache.org> on 2024/05/01 11:50:00 UTC
[jira] [Updated] (LANG-1732) Add a function to convert a Integer object to boolean value
[ https://issues.apache.org/jira/browse/LANG-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jongjin Bae updated LANG-1732:
------------------------------
Description:
I need a function to convert a Integer object to boolean value.
If the Integer object is null, the function returns boolean value it received as an argument.
How about supporting this function in org.apache.commons.lang3.BooleanUtils class?
I will implement this function, if it looks good.
> Add a function to convert a Integer object to boolean value
> -----------------------------------------------------------
>
> Key: LANG-1732
> URL: https://issues.apache.org/jira/browse/LANG-1732
> Project: Commons Lang
> Issue Type: New Feature
> Reporter: Jongjin Bae
> Priority: Major
>
> I need a function to convert a Integer object to boolean value.
> If the Integer object is null, the function returns boolean value it received as an argument.
> How about supporting this function in org.apache.commons.lang3.BooleanUtils class?
> I will implement this function, if it looks good.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)