You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/09/12 17:27:23 UTC

[jira] Resolved: (LANG-278) javadoc for StringUtils.removeEnd is incorrect

     [ http://issues.apache.org/jira/browse/LANG-278?page=all ]

Henri Yandell resolved LANG-278.
--------------------------------

    Fix Version/s: 2.2
       Resolution: Fixed

 svn ci -m "Fixing javadoc example and adding a unit test to prove the example; as 
reported in #LANG-278" src/test/org/apache/commons/lang/StringUtilsTest.java src/java/org/apache/commons/lang/StringUtils.java 
Sending        src/java/org/apache/commons/lang/StringUtils.java
Sending        src/test/org/apache/commons/lang/StringUtilsTest.java
Transmitting file data ..
Committed revision 442618.

> javadoc for StringUtils.removeEnd is incorrect
> ----------------------------------------------
>
>                 Key: LANG-278
>                 URL: http://issues.apache.org/jira/browse/LANG-278
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Kenny MacLeod
>            Priority: Trivial
>             Fix For: 2.2
>
>
> The javadoc for StringUtils.removeEnd(String, String) lists a number of examples, one of which is wrong:
> StringUtils.removeEnd("www.domain.com", ".com.")  = "www,domain"
> The actual result of this is just "www.domain.com"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org