[
https://issues.apache.org/jira/browse/LANG-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Silence Tai updated LANG-1475:
------------------------------
Fix Version/s: 3.10
> StringUtils.unwrap 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: 0.5h
> 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)