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 2008/02/12 06:46:08 UTC

[jira] Commented: (LANG-408) StringUtils.isLength(String string, int length) : boolean

    [ https://issues.apache.org/jira/browse/LANG-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567969#action_12567969 ] 

Henri Yandell commented on LANG-408:
------------------------------------

I think it would be worse than:

if( StringUtils.length("fred") == 5 ) {
}

ie) a method should have more in than just the addition of a keyword.

> StringUtils.isLength(String string, int length) : boolean
> ---------------------------------------------------------
>
>                 Key: LANG-408
>                 URL: https://issues.apache.org/jira/browse/LANG-408
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Jörg Gottschling
>            Priority: Minor
>
> Just a null safe way to check the length of an String.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.