Re: [lang]Question about StringUtils chomp and removeEnd

2011-08-25 Thread Henri Yandell
This is committed (r1161997 + LANG-748). Thanks again Verneri. Hen On Thu, Aug 25, 2011 at 8:30 AM, Henri Yandell wrote: > Agreed :) Nice catch. > > I'll also deprecate the chomp(String,String) version for removal in 4.0. > > Hen > > On Tue, Aug 23, 2011 at 11:02 PM, Verneri Åberg > wrote: >>

Re: [lang]Question about StringUtils chomp and removeEnd

2011-08-25 Thread Henri Yandell
Agreed :) Nice catch. I'll also deprecate the chomp(String,String) version for removal in 4.0. Hen On Tue, Aug 23, 2011 at 11:02 PM, Verneri Åberg wrote: > Hi all, > > I was just browsing through StringUtils Api (versions 2.5, 2.6 and > 3.0.1) and found two very similar looking methods > > chom

[lang]Question about StringUtils chomp and removeEnd

2011-08-24 Thread Verneri Åberg
Hi all, I was just browsing through StringUtils Api (versions 2.5, 2.6 and 3.0.1) and found two very similar looking methods chomp(String,String) and removeEnd(String, String) So I started to wonder what is the difference here and looked at the source code. To my astonishment the only differenc