Return-Path: Delivered-To: apmail-maven-surefire-commits-archive@www.apache.org Received: (qmail 97428 invoked from network); 1 May 2006 16:32:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 16:32:23 -0000 Received: (qmail 85028 invoked by uid 500); 1 May 2006 16:32:23 -0000 Delivered-To: apmail-maven-surefire-commits-archive@maven.apache.org Received: (qmail 85009 invoked by uid 500); 1 May 2006 16:32:22 -0000 Mailing-List: contact surefire-commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: surefire-dev@maven.apache.org Delivered-To: mailing list surefire-commits@maven.apache.org Received: (qmail 84998 invoked by uid 99); 1 May 2006 16:32:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 09:32:22 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 May 2006 09:32:22 -0700 Received: (qmail 97365 invoked by uid 65534); 1 May 2006 16:32:01 -0000 Message-ID: <20060501163201.97364.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r398631 - /maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java Date: Mon, 01 May 2006 16:32:01 -0000 To: surefire-commits@maven.apache.org From: brett@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: brett Date: Mon May 1 09:31:54 2006 New Revision: 398631 URL: http://svn.apache.org/viewcvs?rev=398631&view=rev Log: fix problems with the plexus utils split :( Modified: maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java Modified: maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java URL: http://svn.apache.org/viewcvs/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java?rev=398631&r1=398630&r2=398631&view=diff ============================================================================== --- maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java (original) +++ maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java Mon May 1 09:31:54 2006 @@ -617,14 +617,14 @@ Object[] paramObjects = null; if ( paramProperty != null ) { - String[] params = StringUtils.split( paramProperty, "|" ); - String[] types = StringUtils.split( typeProperty, "|" ); + String[] params = StringUtils.split( StringUtils.replace( paramProperty, "||", "| |" ), "|" ); + String[] types = StringUtils.split( StringUtils.replace( typeProperty, "||", "| |" ), "|" ); paramObjects = new Object[params.length]; for ( int i = 0; i < types.length; i++ ) { - if ( types[i].length() == 0 ) + if ( types[i].trim().length() == 0 ) { params[i] = null; }