commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amey Jadiye (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-93) RandomStringGenerator accepts a list of valid characters
Date Thu, 22 Jun 2017 17:52:00 GMT

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

Amey Jadiye commented on TEXT-93:
---------------------------------

Hi [~pascalschumacher]

Though your code is generating expected output this seems workaround to achieve Random String
from given characters and user have to do lot of work himself. I'm in favour of having simple
API given by [~erans] to which I can pass char array or char list and it will return Random
String. what do you think ?

> RandomStringGenerator accepts a list of valid characters
> --------------------------------------------------------
>
>                 Key: TEXT-93
>                 URL: https://issues.apache.org/jira/browse/TEXT-93
>             Project: Commons Text
>          Issue Type: Wish
>            Reporter: Wilson MacGyver
>
>  implement a "selectFrom" feature:
>   RandomStringGenerator gen = new RandomStringGenerator.Builder()
>     .selectFrom(charArray)
>     .build();
> so we can pass a list of valid characters



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message