commons-issues mailing list archives

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


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

View raw message