You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Marco Risaliti (JIRA)" <ji...@apache.org> on 2007/12/18 16:07:43 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_12552779 ] 

Marco Risaliti commented on OFBIZ-658:
--------------------------------------

Hi Jacques, 

they are new methods and they can be committed.
I have not the framework grant to commit but it does not impact on existing code and also I vote for it.

Thanks
Marco

> Adding new string utility methods to collapse characters
> --------------------------------------------------------
>
>                 Key: OFBIZ-658
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-658
>             Project: OFBiz
>          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.