You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Cameron Whitehead (JIRA)" <ji...@apache.org> on 2006/05/19 16:20:29 UTC
[jira] Created: (LANG-257) [Patch] - added new methods to
StringUtil
[Patch] - added new methods to StringUtil
-----------------------------------------
Key: LANG-257
URL: http://issues.apache.org/jira/browse/LANG-257
Project: Commons Lang
Type: Improvement
Versions: 2.1
Reporter: Cameron Whitehead
Priority: Minor
I added two methods I found helpful.
public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator, int max)
public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (LANG-257) [Patch] - added new methods to
StringUtil
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-257?page=comments#action_12412546 ]
Henri Yandell commented on LANG-257:
------------------------------------
Your patch file is a bit odd, it appears to remove the methods specified rather than adding them.
Easiest way to generate the patch is to check out the latest code from http://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk, modify the StringUtils class and run svn diff to get a patch.
Unit tests are also very appreciated as someone will have to write them before the code can go in.
> [Patch] - added new methods to StringUtil
> -----------------------------------------
>
> Key: LANG-257
> URL: http://issues.apache.org/jira/browse/LANG-257
> Project: Commons Lang
> Type: Improvement
> Versions: 2.1
> Reporter: Cameron Whitehead
> Priority: Minor
> Attachments: StringUtils-enhancements.patch
>
> I added two methods I found helpful.
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator, int max)
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (LANG-257) [Patch] - added new methods to
StringUtil
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-257?page=all ]
Henri Yandell updated LANG-257:
-------------------------------
Fix Version: 3.0
Consider for 3.0 if a new patch is made (hopefully with unit tests). Otherwise, WONTFIX.
> [Patch] - added new methods to StringUtil
> -----------------------------------------
>
> Key: LANG-257
> URL: http://issues.apache.org/jira/browse/LANG-257
> Project: Commons Lang
> Type: Improvement
> Versions: 2.1
> Reporter: Cameron Whitehead
> Priority: Minor
> Fix For: 3.0
> Attachments: StringUtils-enhancements.patch
>
> I added two methods I found helpful.
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator, int max)
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Updated: (LANG-257) [Patch] - added new methods to
StringUtil
Posted by "Cameron Whitehead (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-257?page=all ]
Cameron Whitehead updated LANG-257:
-----------------------------------
Attachment: StringUtils-enhancements.patch
This is the pach file for the StringUtils.class that I created with the new funtionality
> [Patch] - added new methods to StringUtil
> -----------------------------------------
>
> Key: LANG-257
> URL: http://issues.apache.org/jira/browse/LANG-257
> Project: Commons Lang
> Type: Improvement
> Versions: 2.1
> Reporter: Cameron Whitehead
> Priority: Minor
> Attachments: StringUtils-enhancements.patch
>
> I added two methods I found helpful.
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator, int max)
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org