commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TEXT-93) RandomStringGenerator accepts a list of valid characters
Date Fri, 23 Jun 2017 15:49:00 GMT

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

Pascal Schumacher edited comment on TEXT-93 at 6/23/17 3:48 PM:
----------------------------------------------------------------

You can pass a char array to a char... vararg method, so an overload is not necessary. Imho
selectFromList won't be a common usecase and can be dropped.


was (Author: pascalschumacher):
You can pass a char array to a char... vararg method, so an overload is not necessary. Imho
selectFromList won't be commons usecase and can be dropped.

> 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