mirror of https://github.com/apache/maven.git
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:
parent
f17d8fd554
commit
87fc42fd0a
|
@ -373,6 +373,10 @@ public class DoxiaMojo
|
|||
sink.section1_();
|
||||
|
||||
sink.body_();
|
||||
|
||||
sink.flush();
|
||||
|
||||
sink.close();
|
||||
}
|
||||
|
||||
private void generateProjectReportsPage( InputStream siteDescriptor)
|
||||
|
|
|
@ -53,6 +53,10 @@ public abstract class AbstractMavenReportRenderer
|
|||
renderBody();
|
||||
|
||||
sink.body_();
|
||||
|
||||
sink.flush();
|
||||
|
||||
sink.close();
|
||||
}
|
||||
|
||||
protected void startTable()
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -84,6 +84,8 @@ public class CheckstyleReportListener
|
|||
{
|
||||
sink.section1_();
|
||||
sink.body_();
|
||||
sink.flush();
|
||||
sink.close();
|
||||
}
|
||||
|
||||
public void fileStarted( AuditEvent event )
|
||||
|
|
|
@ -139,5 +139,9 @@ public class PmdReportListener
|
|||
sink.section1_();
|
||||
|
||||
sink.body_();
|
||||
|
||||
sink.flush();
|
||||
|
||||
sink.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue