Author: niallp
Date: Wed May 21 12:56:46 2008
New Revision: 658831

URL: http://svn.apache.org/viewvc?rev=658831&view=rev
Log:
Remove tabs

Modified:
    
commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
    
commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java

Modified: 
commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java?rev=658831&r1=658830&r2=658831&view=diff
==============================================================================
--- 
commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
 (original)
+++ 
commons/proper/io/trunk/src/test/org/apache/commons/io/filefilter/FileFilterTestCase.java
 Wed May 21 12:56:46 2008
@@ -91,8 +91,8 @@
         assertFiltering(filter, new File("fred.exe"), false);
 
         filter = FileFilterUtils.orFileFilter( 
-                               FileFilterUtils.suffixFileFilter( "tes" ),
-                               FileFilterUtils.suffixFileFilter( "est" ) );
+                    FileFilterUtils.suffixFileFilter( "tes" ),
+                    FileFilterUtils.suffixFileFilter( "est" ) );
         assertFiltering(filter, new File("fred"), false);
         assertFiltering(filter, new File(".tes"), true);
         assertFiltering(filter, new File("fred.test"), true);
@@ -339,30 +339,30 @@
     }
 
     public void testNameFilterNullArgument() throws Exception {
-       String test = null;
-       try {
-               new NameFileFilter(test);
-               fail( "constructing a NameFileFilter with a null String 
argument should fail.");
-       } catch( IllegalArgumentException iae ) {
-       }
+        String test = null;
+        try {
+            new NameFileFilter(test);
+            fail( "constructing a NameFileFilter with a null String argument 
should fail.");
+        } catch( IllegalArgumentException iae ) {
+        }
     }
 
     public void testNameFilterNullArrayArgument() throws Exception {
-       String[] test = null;
-       try {
-               new NameFileFilter(test);
-               fail( "constructing a NameFileFilter with a null String[] 
argument should fail.");
-       } catch( IllegalArgumentException iae ) {
-       }
+        String[] test = null;
+        try {
+            new NameFileFilter(test);
+            fail( "constructing a NameFileFilter with a null String[] argument 
should fail.");
+        } catch( IllegalArgumentException iae ) {
+        }
     }
 
     public void testNameFilterNullListArgument() throws Exception {
-       List test = null;
-       try {
-               new NameFileFilter(test);
-               fail( "constructing a NameFileFilter with a null List argument 
should fail.");
-       } catch( IllegalArgumentException iae ) {
-       }
+        List test = null;
+        try {
+            new NameFileFilter(test);
+            fail( "constructing a NameFileFilter with a null List argument 
should fail.");
+        } catch( IllegalArgumentException iae ) {
+        }
     }
 
     public void testTrue() throws Exception {
@@ -588,26 +588,26 @@
     }
 
     public void testDelegateFileFilter() throws Exception {
-       OrFileFilter orFilter = new OrFileFilter();
-       File testFile = new File( "test.txt" );
+        OrFileFilter orFilter = new OrFileFilter();
+        File testFile = new File( "test.txt" );
 
-       IOFileFilter filter = new DelegateFileFilter((FileFilter) orFilter);
-       assertFiltering( filter, testFile, false );
+        IOFileFilter filter = new DelegateFileFilter((FileFilter) orFilter);
+        assertFiltering( filter, testFile, false );
 
-       filter = new DelegateFileFilter((FilenameFilter) orFilter);
-       assertFiltering( filter, testFile, false );
+        filter = new DelegateFileFilter((FilenameFilter) orFilter);
+        assertFiltering( filter, testFile, false );
 
-       try {
-               new DelegateFileFilter((FileFilter) null);
-               fail();
-       } catch( IllegalArgumentException iae ) {
-       }
-
-       try {
-               new DelegateFileFilter((FilenameFilter) null);
-               fail();
-       } catch( IllegalArgumentException iae ) {
-       }
+        try {
+            new DelegateFileFilter((FileFilter) null);
+            fail();
+        } catch( IllegalArgumentException iae ) {
+        }
+
+        try {
+            new DelegateFileFilter((FilenameFilter) null);
+            fail();
+        } catch( IllegalArgumentException iae ) {
+        }
 
     }
 

Modified: 
commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java?rev=658831&r1=658830&r2=658831&view=diff
==============================================================================
--- 
commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
 (original)
+++ 
commons/proper/io/trunk/src/test/org/apache/commons/io/input/ClassLoaderObjectInputStreamTest.java
 Wed May 21 12:56:46 2008
@@ -34,25 +34,25 @@
         super(name);
     }
 
-       /* Note: This test case tests the simplest functionality of
-        * ObjectInputStream.  IF we really wanted to test 
ClassLoaderObjectInputStream
-        * we would probably need to create a transient Class Loader. -TO
-        */
+    /* Note: This test case tests the simplest functionality of
+     * ObjectInputStream.  IF we really wanted to test 
ClassLoaderObjectInputStream
+     * we would probably need to create a transient Class Loader. -TO
+     */
 
     
     public void testExpected() throws Exception {
 
-       ByteArrayOutputStream baos = new ByteArrayOutputStream();
-       ObjectOutputStream oos = new ObjectOutputStream(baos);
-       
-       oos.writeObject( Boolean.FALSE );
-       
-       InputStream bais = new ByteArrayInputStream(baos.toByteArray());
-       ClassLoaderObjectInputStream clois = 
-               new ClassLoaderObjectInputStream(getClass().getClassLoader(), 
bais);
-       Boolean result = (Boolean) clois.readObject();
-       
-       assertTrue( !result.booleanValue() );
+        ByteArrayOutputStream baos = new ByteArrayOutputStream();
+        ObjectOutputStream oos = new ObjectOutputStream(baos);
+
+        oos.writeObject( Boolean.FALSE );
+
+        InputStream bais = new ByteArrayInputStream(baos.toByteArray());
+        ClassLoaderObjectInputStream clois = 
+            new ClassLoaderObjectInputStream(getClass().getClassLoader(), 
bais);
+        Boolean result = (Boolean) clois.readObject();
+
+        assertTrue( !result.booleanValue() );
     }
     
 }


Reply via email to