elharo commented on code in PR #156:
URL: https://github.com/apache/maven-doxia/pull/156#discussion_r1141961961
##########
doxia-core/src/test/java/org/apache/maven/doxia/sink/impl/AbstractSinkTest.java:
##########
@@ -110,7 +110,7 @@ public final void testTestDocument() throws IOException {
SinkTestDocument.generate(testSink);
} finally {
testSink.close();
- IOUtil.close(writer);
+ IOUtils.close(writer);
Review Comment:
https://issues.apache.org/jira/browse/DOXIA-698 but until then this probably
works. Does closing the sink close the Writer? If so we don't need IOUtils at
all here.
The other pre-existing issue that;s weird in this test is the isXmlSink()
branch on line 106. I'm not sure what that's about.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]