[ https://issues.apache.org/jira/browse/LANG-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bruno P. Kinoshita 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 > Assignee: Bruno P. Kinoshita > 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)