hboutemy commented on code in PR #13:
URL: 
https://github.com/apache/maven-reporting-impl/pull/13#discussion_r1045257458


##########
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java:
##########
@@ -383,7 +452,10 @@ protected Skin getSkin()
      */
     protected void closeReport()
     {
-        getSink().close();
+        if ( getSink() != null )

Review Comment:
   just remove this test and you'll see :)
   honestly, perhaps it's just unit-test, not real world, adding the code was 
easier than going more in depth...



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to