commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Bartczak (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-384) javadoc is still buggy - the test is testing a different situation
Date Mon, 17 Dec 2007 10:10:43 GMT
javadoc is still buggy - the test is testing a different situation
------------------------------------------------------------------

                 Key: LANG-384
                 URL: https://issues.apache.org/jira/browse/LANG-384
             Project: Commons Lang
          Issue Type: Sub-task
    Affects Versions: 2.3
            Reporter: Tomasz Bartczak
            Priority: Trivial


the test is testing
assertEquals(StringUtils.removeEnd("www.domain.com.", ".com"), "www.domain.com.");

while the javadoc shows

StringUtils.removeEnd("www.domain.com", ".com.")  = "www.domain.com."

this is the fail for javadoc because 
StringUtils.removeEnd("www.domain.com", ".com.")  returns "www.domain.com"  ( without a dot
)

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


Mime
View raw message