commons-issues mailing list archives

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


Emmanuel Bourg commented on TEXT-34:

Thank you for the example, I didn't realize the filter could be used this way.

I'd suggest adding more methods like {{withRange(char, char)}}, {{withDigits()}} or {{withLetter()}}
to make common cases easier.

Regarding the filter, I wonder if it would be worth making the pending string accessible to
the test method. A test could thus be based on the previous characters, and it would be possible
to write a test avoiding the repetitions characters.

> 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