commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Jones <dun...@wortharead.com>
Subject Re: [LANG] [RNG] New Unicode-capable additions to RandomStringUtils
Date Sun, 18 Dec 2016 10:57:41 GMT

> On 18 Dec 2016, at 10:51, sebb <sebbaz@gmail.com> wrote:
> 
> On 18 December 2016 at 10:40, Pascal Schumacher
> <pascalschumacher@gmx.net> wrote:
>> Am 18.12.2016 um 11:23 schrieb sebb:
>>> 
>>> It's definitely too specialised for LANG.
>> 
>> I do not think this is too specialized for LANG. RandomStringUtils has been
>> part of LANG since 1.0, and this is just an improved version of existing
>> functionality.
> 
> I don't think RandomStringUtils itself belongs in LANG, now that there
> is a TEXT component.
> 
> Quite a few TEXT-like classes were added to LANG because there was nowhere else.

I agree with this. Creating random strings is not really a missing feature from java.lang.*.

We should add a similar class to TEXT, but take the opportunity to simplify some of the complicated
semantics of the current version. We can then deprecated RandomStringUtils and remove it in
4.0.


> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message