You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/01/27 12:05:49 UTC

[jira] Commented: (OFBIZ-658) Adding new string utility methods to collapse characters

    [ https://issues.apache.org/jira/browse/OFBIZ-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468009 ] 

Jacques Le Roux commented on OFBIZ-658:
---------------------------------------

I reviewed this patch sounds fine. I vote for !

> Adding new string utility methods to collapse characters
> --------------------------------------------------------
>
>                 Key: OFBIZ-658
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-658
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Added a method to collapse multiple consecutive identical characters to StringUtil.java (collapseCharacter). Also added to convenience wrapper methods, collapseSpaces and collapseNewlines. (Derived from similar methods in Velocity's StringUtils class)

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