Flush and close always sink.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-05-20 16:31:21 +00:00
parent f17d8fd554
commit 87fc42fd0a
5 changed files with 16 additions and 1 deletions

View File

@ -373,6 +373,10 @@ public class DoxiaMojo
sink.section1_();
sink.body_();
sink.flush();
sink.close();
}
private void generateProjectReportsPage( InputStream siteDescriptor)

View File

@ -53,6 +53,10 @@ public abstract class AbstractMavenReportRenderer
renderBody();
sink.body_();
sink.flush();
sink.close();
}
protected void startTable()

View File

@ -36,6 +36,8 @@ public class MultiPageSink
public void closeSink()
{
sink.body_();
sink.flush();
sink.close();
}
/**
@ -106,7 +108,6 @@ public class MultiPageSink
*/
public void close()
{
sink.close();
}
/**

View File

@ -84,6 +84,8 @@ public class CheckstyleReportListener
{
sink.section1_();
sink.body_();
sink.flush();
sink.close();
}
public void fileStarted( AuditEvent event )

View File

@ -139,5 +139,9 @@ public class PmdReportListener
sink.section1_();
sink.body_();
sink.flush();
sink.close();
}
}