Author: hboutemy
Date: Sun Nov 9 10:13:12 2008
New Revision: 712527
URL: http://svn.apache.org/viewvc?rev=712527&view=rev
Log:
closed FileWriter
Modified:
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
Modified:
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java?rev=712527&r1=712526&r2=712527&view=diff
==============================================================================
---
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
(original)
+++
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/module/AbstractIdentityTest.java
Sun Nov 9 10:13:12 2008
@@ -101,7 +101,7 @@
// write to file for comparison
fileWriter = getTestWriter( "expected" );
fileWriter.write( expected );
- fileWriter.flush();
+ fileWriter.close();
// generate the actual model
writer = new StringWriter();
@@ -115,7 +115,7 @@
// write to file for comparison
fileWriter = getTestWriter( "actual" );
fileWriter.write( actual );
- fileWriter.flush();
+ fileWriter.close();
// Disabled by default, it's unlikely that all our modules
// will pass this test any time soon, but the generated