You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Brent Worden (JIRA)" <ji...@apache.org> on 2012/11/07 21:27:11 UTC

[jira] [Resolved] (LANG-851) StringUtils.stripEnd("commons-digester.jar", ".jar") returns "commons-digeste" instead of "commons-digester"

     [ 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