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 2011/03/03 05:33:37 UTC

[jira] Commented: (LANG-679) StringUtils.startsWithIgnoreCase whrong documentation

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

Henri Yandell commented on LANG-679:
------------------------------------

Do you mean these examples?

 StringUtils.startsWithIgnoreCase(null, null)      = true
 StringUtils.startsWithIgnoreCase(null, "abc")     = false
 StringUtils.startsWithIgnoreCase("abcdef", null)  = false
 StringUtils.startsWithIgnoreCase("abcdef", "abc") = true
 StringUtils.startsWithIgnoreCase("ABCDEF", "abc") = true

If so, what's wrong with them?

> StringUtils.startsWithIgnoreCase whrong documentation
> -----------------------------------------------------
>
>                 Key: LANG-679
>                 URL: https://issues.apache.org/jira/browse/LANG-679
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>            Reporter: Michael Neifeld
>
> Examples within JavaDoc misleads about parameters - according to examples the string and the prefix misplaced.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira