You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2021/01/10 08:00:04 UTC

[jira] [Updated] (BEANUTILS-544) Generic method to Checks if a CharSequence is empty ("") or null

     [ https://issues.apache.org/jira/browse/BEANUTILS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arturo Bernal updated BEANUTILS-544:
------------------------------------
    Summary: Generic method to Checks if a CharSequence is empty ("") or null   (was: Generic method to check if a CharSequence is emnpry )

> Generic method to Checks if a CharSequence is empty ("") or null 
> -----------------------------------------------------------------
>
>                 Key: BEANUTILS-544
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-544
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: Bean / Property Utils
>            Reporter: Arturo Bernal
>            Priority: Major
>
> In order to duplicate always the same cheek  in the class 
> DefaultResolver
>  
> {code:java}
> if (expression == null || expression.length() == 0)
> {code}
> wold we nice have a method like en commons-lang that check if a sequence of character it's null or length ==0 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)