commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r918023 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
Date Tue, 02 Mar 2010 13:24:42 GMT
Author: bodewig
Date: Tue Mar  2 13:24:42 2010
New Revision: 918023

URL: http://svn.apache.org/viewvc?rev=918023&view=rev
Log:
whitespace

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java?rev=918023&r1=918022&r2=918023&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
Tue Mar  2 13:24:42 2010
@@ -29,25 +29,25 @@
 
 public final class GZipTestCase extends AbstractTestCase {
 
-	public void testGzipCreation()  throws Exception {
-		final File input = getFile("test1.xml");
-		final File output = new File(dir, "test1.xml.gz");
-		final OutputStream out = new FileOutputStream(output);
-		final CompressorOutputStream cos = new CompressorStreamFactory().createCompressorOutputStream("gz",
out);
-		IOUtils.copy(new FileInputStream(input), cos);
-		cos.close();
-	}
-	
-	public void testGzipUnarchive() throws Exception {
-		final File input = getFile("bla.tgz");
-		final File output = new File(dir, "bla.tar");
+    public void testGzipCreation()  throws Exception {
+        final File input = getFile("test1.xml");
+        final File output = new File(dir, "test1.xml.gz");
+        final OutputStream out = new FileOutputStream(output);
+        final CompressorOutputStream cos = new CompressorStreamFactory().createCompressorOutputStream("gz",
out);
+        IOUtils.copy(new FileInputStream(input), cos);
+        cos.close();
+    }
+
+    public void testGzipUnarchive() throws Exception {
+        final File input = getFile("bla.tgz");
+        final File output = new File(dir, "bla.tar");
         final InputStream is = new FileInputStream(input);
         final CompressorInputStream in = new CompressorStreamFactory().createCompressorInputStream("gz",
is);
         FileOutputStream out = new FileOutputStream(output);
         IOUtils.copy(in, out);
-		in.close();
-		is.close();
-		out.close();
+        in.close();
+        is.close();
+        out.close();
     }
 
 }



Mime
View raw message