On 12/3/06, Trygve Laugstøl <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
> Author: bayard
> Date: Fri Dec  1 15:44:12 2006
> New Revision: 481446
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=481446
> Log:
> Moved from Plexus-Util StringUtils to Lang StringUtils. replace, split and 
join should just have had performance improvements (probably won't be noticed). 
isEmpty no longer trims, but usually people don't expect that so that's a semi 
bugfix. I've also switched a couple of \!isEmpty's to isNotEmpty.

All of my code that's using StringUtils.isEmpty depends on it trimming
the input string. Is there an alternative method I can use?

Sorry for the slowness in replying. You can switch to StringUtils.isBlank.

I took a quick poll on #archiva [okay, only Brett answered] and he
felt that whenever he used it he didn't expecting trimming.

Hen

Reply via email to