You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Duncan Jones (JIRA)" <ji...@apache.org> on 2016/12/19 16:38:58 UTC

[jira] [Commented] (TEXT-34) Add class to generate random strings

    [ https://issues.apache.org/jira/browse/TEXT-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761636#comment-15761636 ] 

Duncan Jones commented on TEXT-34:
----------------------------------

I've uploaded this as a pull request to GitHub, to allow for easy reviewing: https://github.com/apache/commons-text/pull/20/files.

Thoughts welcome, before I commit this to master. I opted for a builder pattern, which seems quite an elegant approach to the problem (inspired by the presence of a {{Builder<T>}} interface in the project).

> Add class to generate random strings
> ------------------------------------
>
>                 Key: TEXT-34
>                 URL: https://issues.apache.org/jira/browse/TEXT-34
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Duncan Jones
>            Assignee: Duncan Jones
>
> The {{RandomStringUtils}} class will be deprecated in Commons Lang and reborn in Commons Text.
> Because the original class has some complicated parameters and potentially unnecessary capabilities, I'll simplify as I move it across. I'll also ensure the class plays nicely with Unicode characters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)