commons-issues mailing list archives

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

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

Wilson MacGyver edited comment on TEXT-93 at 6/23/17 6:33 PM:
--------------------------------------------------------------

--the primary argument for selectFromList is 

in https://commons.apache.org/proper/commons-lang/javadocs/api-3.6/

Deprecated. 
as of 3.6, use commons-text RandomStringGenerator instead

having selectFromList  reduce user's pain to switch. Because you know what happens when you
make it hard to switch, people will just keep using the old depreciated one--


never mind. I misunderstood the comment above. my bad, sorry


was (Author: wmacgyver):
the primary argument for selectFromList is 

in https://commons.apache.org/proper/commons-lang/javadocs/api-3.6/

Deprecated. 
as of 3.6, use commons-text RandomStringGenerator instead

having selectFromList  reduce user's pain to switch. Because you know what happens when you
make it hard to switch, people will just keep using the old depreciated one

> 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