https://bz.apache.org/bugzilla/show_bug.cgi?id=61358
--- Comment #1 from Philippe Mouawad <[email protected]> --- Hello, Not sure it's a good idea for now. My understanding is that it may incur additional objects creation for builders particularly for RandomString from a set of chars. Recoded as of commons-text-1.1, it would be something like: final String lcharsToUse = charsToUse; myValue = new RandomStringGenerator.Builder() .filteredBy(c -> lcharsToUse.indexOf(c) >= 0) .build().generate(length); Version 1.2 has a selectFrom() But anyway, AFAIU this consumes more objects than RandomStringUtils. Am I wrong ? -- You are receiving this mail because: You are the assignee for the bug.
