commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Closed: (LANG-338) truncateNicely method which avoids truncating in the middle of a word
Date Tue, 13 Nov 2007 18:06:43 GMT


Henri Yandell closed LANG-338.

    Resolution: Fixed

svn ci -m "Applying the truncateNicely patch from LANG-338 as abbreviate. I've added it to
rather than StringUtils; it feels like a better fit there to me" src
Sending        src/java/org/apache/commons/lang/
Sending        src/test/org/apache/commons/lang/
Transmitting file data ..
Committed revision 594599.

> truncateNicely method which avoids truncating in the middle of a word
> ---------------------------------------------------------------------
>                 Key: LANG-338
>                 URL:
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: matt humphreys
>            Priority: Trivial
>             Fix For: 2.4
>         Attachments: LANG-338-cleaned.patch, LANG-338.patch
> as provided by jakarta string taglib. It would be good if this was part of commons as
it doesn't make sense to use a taglib jar for non-web projects.
> The taglib javadoc says:
> "...It will search for the first space after the lower limit and truncate the string
there. It will also append any string passed as a parameter to the end of the string. The
hard limit can be specified to forcibily truncate a string (in the case of an extremely long
word or such)..."

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message