maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r736007 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java
Date Tue, 20 Jan 2009 12:44:19 GMT
Author: vsiveton
Date: Tue Jan 20 04:44:19 2009
New Revision: 736007

URL: http://svn.apache.org/viewvc?rev=736007&view=rev
Log:
o be sure that writer is closed

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java?rev=736007&r1=736006&r2=736007&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/sink/AbstractSinkTest.java
Tue Jan 20 04:44:19 2009
@@ -20,6 +20,7 @@
  */
 
 import org.apache.maven.doxia.AbstractModuleTest;
+import org.codehaus.plexus.util.IOUtil;
 
 import java.io.CharArrayWriter;
 import java.io.IOException;
@@ -78,6 +79,7 @@
         finally
         {
             testSink.close();
+            IOUtil.close( writer );
         }
     }
 



Mime
View raw message