Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 31895 invoked from network); 13 Feb 2005 12:08:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Feb 2005 12:08:47 -0000 Received: (qmail 55403 invoked by uid 500); 13 Feb 2005 12:08:45 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 54898 invoked by uid 500); 13 Feb 2005 12:08:44 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 54884 invoked by uid 500); 13 Feb 2005 12:08:44 -0000 Received: (qmail 54881 invoked by uid 99); 13 Feb 2005 12:08:44 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 13 Feb 2005 04:08:43 -0800 Received: (qmail 31725 invoked by uid 65534); 13 Feb 2005 12:08:42 -0000 Message-ID: <20050213120842.31724.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Sun, 13 Feb 2005 12:08:42 -0000 Subject: svn commit: r153622 - jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java To: commons-cvs@jakarta.apache.org From: jeremias@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: jeremias Date: Sun Feb 13 04:08:41 2005 New Revision: 153622 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D153622 Log: Removed TAB characters. Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/Filename= Utils.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/Fi= lenameUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java= /org/apache/commons/io/FilenameUtils.java?view=3Ddiff&r1=3D153621&r2=3D1536= 22 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/Filename= Utils.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/Filename= Utils.java Sun Feb 13 04:08:41 2005 @@ -1,5 +1,5 @@ /* - * Copyright 2001-2004 The Apache Software Foundation. + * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -79,7 +79,7 @@ * @author Martin Cooper * @author Jeremias Maerki * @author Stephen Colebourne - * @version $Id: FilenameUtils.java,v 1.32 2004/12/10 22:36:56 scolebourne= Exp $ + * @version $Id$ * @since Commons IO 1.1 */ public class FilenameUtils { @@ -922,16 +922,16 @@ ArrayList list =3D new ArrayList(); StringBuffer buffer =3D new StringBuffer(); for (int i =3D 0; i < array.length; i++) { - if (array[i] =3D=3D '?' || array[i] =3D=3D '*') { - if (buffer.length() !=3D 0) { - list.add(buffer.toString()); - buffer.setLength(0); - } - list.add(new String(new char[] { array[i] })); - } else { - buffer.append(array[i]); - } - } + if (array[i] =3D=3D '?' || array[i] =3D=3D '*') { + if (buffer.length() !=3D 0) { + list.add(buffer.toString()); + buffer.setLength(0); + } + list.add(new String(new char[] { array[i] })); + } else { + buffer.append(array[i]); + } + } if (buffer.length() !=3D 0) { list.add(buffer.toString()); } --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org