commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan Jones <dun...@wortharead.com>
Subject Re: [TEXT] Items to port from Lang
Date Wed, 21 Dec 2016 19:02:00 GMT


> On 21 Dec 2016, at 18:57, Gary Gregory <garydgregory@gmail.com> wrote:
> 
> On Wed, Dec 21, 2016 at 12:17 AM, Duncan Jones <duncan@wortharead.com>
> wrote:
> 
>> Hi,
>> 
>> Looking through Lang, I don’t see too much that needs to come across to
>> Text.
>> 
>> - The string distance algorithms have already moved and can be deprecated
>> in StringUtils, once 1.0 is released
>> - The remainder of StringUtils doesn’t feel like it belongs in Text
>> - RandomStringUtils has been ported / re-built; we can deprecate some or
>> all of the class when 1.0 is released
>> - WordUtils: I think most of this could come to Text, but preferably
>> refactored into several classes to avoid a big list of static methods
>> 
> 
> +1, WordUtils is an obvious candidate for transfer.
> 
> We can also consider if any of the classes that move over and candidates
> for a new design. For example, instead of all static methods, a class could
> be configured with uppercase or lowercase processing. Or a certain Locale.
> Methods would then be on the instance side instead of the static side.
> 
> Gary
> 

Yes, this is exactly what I have in mind :-)

> 
>> 
>> What do you think? I’m happy to take a first effort at porting/rebuilding
>> WordUtils.
>> 
>> Duncan
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
>> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>
> 
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
> JUnit in Action, Second Edition
> <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>
> 
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
> Spring Batch in Action
> <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

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


Mime
View raw message