You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Silence Tai (Jira)" <ji...@apache.org> on 2019/08/25 02:25:00 UTC
[jira] [Resolved] (LANG-1475) StringUtils.unwrap incorrect throw
StringIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/LANG-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Silence Tai resolved LANG-1475.
-------------------------------
Resolution: Fixed
> StringUtils.unwrap incorrect throw StringIndexOutOfBoundsException
> ------------------------------------------------------------------
>
> Key: LANG-1475
> URL: https://issues.apache.org/jira/browse/LANG-1475
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Reporter: Silence Tai
> Priority: Major
> Fix For: 3.10
>
> Original Estimate: 10m
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Call
> {code:java} StringUtils.unwrap("a", 'a'); {code}
> or
> {code:java} StringUtils.unwrap("a", "a"); {code}
> Throw Exception:
> *java.lang.StringIndexOutOfBoundsException: begin 1, end 0, length 1*
--
This message was sent by Atlassian Jira
(v8.3.2#803003)