commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Worden (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LANG-851) StringUtils.stripEnd("commons-digester.jar", ".jar") returns "commons-digeste" instead of "commons-digester"
Date Wed, 07 Nov 2012 20:27:11 GMT

     [ https://issues.apache.org/jira/browse/LANG-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brent Worden resolved LANG-851.
-------------------------------

       Resolution: Won't Fix
    Fix Version/s: 3.1
         Assignee: Brent Worden

This is the documented behavior of the method.  The original reporter wants to use the [StringUtils.removeEnd|http://commons.apache.org/lang/api-release/org/apache/commons/lang3/StringUtils.html#removeEnd(java.lang.String,
java.lang.String)] method instead.
                
> StringUtils.stripEnd("commons-digester.jar", ".jar") returns "commons-digeste" instead
of "commons-digester"
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: LANG-851
>                 URL: https://issues.apache.org/jira/browse/LANG-851
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.1
>         Environment: Windows 7, jdk 1.5_0_22, jdk 1.6.0_32
>            Reporter: Santh Balak
>            Assignee: Brent Worden
>             Fix For: 3.1
>
>
> StringUtils.stripEnd("commons-digester.jar", ".jar") returns "commons-digeste" instead
of "commons-digester". I tried with all the commons lang versions from 2.1 - 3.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message