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

Reply via email to