You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Anish K George (JIRA)" <ji...@apache.org> on 2009/11/22 13:00:40 UTC

[jira] Created: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
-----------------------------------------------------------------------------------------------

                 Key: LANG-557
                 URL: https://issues.apache.org/jira/browse/LANG-557
             Project: Commons Lang
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
            Reporter: Anish K George


In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.

eg: 

It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
It should be StringUtils.startsWith("abcdef", "abc") = true


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


[jira] Updated: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated LANG-557:
-------------------------------

    Fix Version/s: 3.0

> Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-557
>                 URL: https://issues.apache.org/jira/browse/LANG-557
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
>            Reporter: Anish K George
>             Fix For: 3.0
>
>
> In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
> eg: 
> It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
> It should be StringUtils.startsWith("abcdef", "abc") = true

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


[jira] Updated: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton updated LANG-557:
---------------------------------

    Fix Version/s:     (was: 3.0)
                   2.5

> Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-557
>                 URL: https://issues.apache.org/jira/browse/LANG-557
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
>            Reporter: Anish K George
>             Fix For: 2.5
>
>
> In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
> eg: 
> It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
> It should be StringUtils.startsWith("abcdef", "abc") = true

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


[jira] Closed: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-557.
------------------------------

    Resolution: Fixed

Snapshot javadoc now shows fix.

> Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-557
>                 URL: https://issues.apache.org/jira/browse/LANG-557
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
>            Reporter: Anish K George
>             Fix For: 3.0
>
>
> In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
> eg: 
> It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
> It should be StringUtils.startsWith("abcdef", "abc") = true

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


[jira] Commented: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782822#action_12782822 ] 

Henri Yandell commented on LANG-557:
------------------------------------

Looks like this has already been caught in svn - keeping this issue until the site is regenerated.

> Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-557
>                 URL: https://issues.apache.org/jira/browse/LANG-557
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
>            Reporter: Anish K George
>             Fix For: 3.0
>
>
> In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
> eg: 
> It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
> It should be StringUtils.startsWith("abcdef", "abc") = true

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


[jira] Commented: (LANG-557) Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LANG-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782841#action_12782841 ] 

Henri Yandell commented on LANG-557:
------------------------------------

Site uploaded. Will take a few hours to sync from staging to prod.

> Javadoc wrong for StringUtils startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase
> -----------------------------------------------------------------------------------------------
>
>                 Key: LANG-557
>                 URL: https://issues.apache.org/jira/browse/LANG-557
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.4
>         Environment: http://commons.apache.org/lang//api/org/apache/commons/lang/StringUtils.html
>            Reporter: Anish K George
>             Fix For: 3.0
>
>
> In the examples given along with the descriptions of startsWith, startsWithIgnoreCase, endsWith and endsWithIgnoreCase of StringUtils class, the full string and the suffix/prefix are used in the wrong order.
> eg: 
> It is mentioned that StringUtils.startsWith("abc", "abcdef") = true
> It should be StringUtils.startsWith("abcdef", "abc") = true

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