commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duncan Jones (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-34) Add class to generate random strings
Date Tue, 20 Dec 2016 19:23:58 GMT

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

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

Thanks for those links, Giles.

So shall I just crack on and make TEXT dependent upon RNG? If we see TEXT as a second-level
component, as I've heard mentioned on the mailing lists, then that would be the right choice.
We can become the poster-child for doing randomness correctly.

In which case, I would adjust the {{usingRandom}} method to accept a {{UniformRandomProvider}}
argument. Does that sound ok? What would be your recommendation for the default generator
to use for the class, if one is not provided? 

> 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)

Mime
View raw message