commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <>
Subject [jira] [Commented] (LANG-1160) StringUtils.abbreviate() to support "custom ellipses" parameter
Date Wed, 12 Oct 2016 07:18:20 GMT


Bruno P. Kinoshita commented on LANG-1160:

Looks easy to be implemented. I can submit a pull request for this this weekend. 

[~britter] abbreviations will probably be included in [text] too. StringUtils has 8822 LOC
at the moment. Do you reckon it is all right to add this new method on [lang], or would methods
like this on StringUtils be good candidates to be moved to [text]? I'd be inclined to not
add any more features to StringUtils if [text] is going to have similart code. Or should I
drop an e-mail to the mailing list about it?

> StringUtils.abbreviate() to support "custom ellipses" parameter
> ---------------------------------------------------------------
>                 Key: LANG-1160
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 3.4
>            Reporter: Hendy Irawan
>            Priority: Trivial
> {{abbreviateMiddle()}} supports custom replacement string.
> {{abbreviate()}} needs to also support this, for example to to use "…" Unicode character
instead of three "..."

This message was sent by Atlassian JIRA

View raw message