Author: jeremias Date: Sun Feb 13 04:08:41 2005 New Revision: 153622 URL: http://svn.apache.org/viewcvs?view=rev&rev=153622 Log: Removed TAB characters.
Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java Modified: jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java?view=diff&r1=153621&r2=153622 ============================================================================== --- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.java (original) +++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/FilenameUtils.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 <a href="mailto:[EMAIL PROTECTED]">Jeremias Maerki</a> * @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 = new ArrayList(); StringBuffer buffer = new StringBuffer(); for (int i = 0; i < array.length; i++) { - if (array[i] == '?' || array[i] == '*') { - if (buffer.length() != 0) { - list.add(buffer.toString()); - buffer.setLength(0); - } - list.add(new String(new char[] { array[i] })); - } else { - buffer.append(array[i]); - } - } + if (array[i] == '?' || array[i] == '*') { + if (buffer.length() != 0) { + list.add(buffer.toString()); + buffer.setLength(0); + } + list.add(new String(new char[] { array[i] })); + } else { + buffer.append(array[i]); + } + } if (buffer.length() != 0) { list.add(buffer.toString()); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]