maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r712550 - /maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
Date Sun, 09 Nov 2008 20:36:42 GMT
Author: hboutemy
Date: Sun Nov  9 12:36:42 2008
New Revision: 712550

URL: http://svn.apache.org/viewvc?rev=712550&view=rev
Log:
closed reader

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java?rev=712550&r1=712549&r2=712550&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
Sun Nov  9 12:36:42 2008
@@ -207,6 +207,7 @@
     {
         Reader reader = ReaderFactory.newXmlReader( f );
         String content = IOUtil.toString( reader );
+        IOUtil.close( reader );
         content = addNamespaces( content );
 
         MessagesErrorHandler errorHandler = (MessagesErrorHandler) getXMLReader().getErrorHandler();



Mime
View raw message