Return-Path: Delivered-To: apmail-maven-archiva-dev-archive@locus.apache.org Received: (qmail 92684 invoked from network); 8 Dec 2006 22:22:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 22:22:01 -0000 Received: (qmail 50247 invoked by uid 500); 8 Dec 2006 22:22:09 -0000 Delivered-To: apmail-maven-archiva-dev-archive@maven.apache.org Received: (qmail 50212 invoked by uid 500); 8 Dec 2006 22:22:09 -0000 Mailing-List: contact archiva-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: archiva-dev@maven.apache.org Delivered-To: mailing list archiva-dev@maven.apache.org Received: (qmail 50203 invoked by uid 99); 8 Dec 2006 22:22:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 14:22:09 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of flamefew@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 14:21:58 -0800 Received: by wx-out-0506.google.com with SMTP id t14so965690wxc for ; Fri, 08 Dec 2006 14:21:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dGpskqfQY/aFs960bbTs/PbveSTSXyhTJ/F0rzfoIUUBuOw2xcgWmLI+x5E1yiduRXomSBi2dviSI/xIcgHIl+nqaGOwav/kyWDPR+E30sDVZxXPkN+qf00jNPiT9oONAVxDizYk6mxIO18LYQFLnX8S4J89Tw+N9VuvXtm2fTc= Received: by 10.90.113.20 with SMTP id l20mr4911790agc.1165616497848; Fri, 08 Dec 2006 14:21:37 -0800 (PST) Received: by 10.90.101.10 with HTTP; Fri, 8 Dec 2006 14:21:37 -0800 (PST) Message-ID: <31cc37360612081421sbe11bf3k9cb6ebfee83a016f@mail.gmail.com> Date: Fri, 8 Dec 2006 14:21:37 -0800 From: "Henri Yandell" To: archiva-dev@maven.apache.org Subject: Re: svn commit: r481446 - in /maven/archiva/trunk: ./ archiva-cli/ archiva-cli/src/main/java/org/apache/maven/archiva/cli/ archiva-configuration/ archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/ archiva-core/ archiva-core/s MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org On 12/3/06, Trygve Laugst=F8l wrote: > bayard@apache.org wrote: > > Author: bayard > > Date: Fri Dec 1 15:44:12 2006 > > New Revision: 481446 > > > > URL: http://svn.apache.org/viewvc?view=3Drev&rev=3D481446 > > Log: > > Moved from Plexus-Util StringUtils to Lang StringUtils. replace, split = and join should just have had performance improvements (probably won't be n= oticed). isEmpty no longer trims, but usually people don't expect that so t= hat's a semi bugfix. I've also switched a couple of \!isEmpty's to isNotEmp= ty. > > 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