mirror of https://github.com/apache/maven.git
basic mailing list report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9962c4931d
commit
cb5bf2f8e6
|
@ -21,6 +21,7 @@ import org.codehaus.doxia.sink.Sink;
|
|||
/**
|
||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
||||
* @version $Id$
|
||||
* @todo Later it may be appropriate to create something like a VelocityMavenReportRenderer that could take a velocity template and pipe that through Doxia rather than coding them up like this.
|
||||
*/
|
||||
public abstract class AbstractMavenReportRenderer
|
||||
{
|
||||
|
@ -142,7 +143,14 @@ public abstract class AbstractMavenReportRenderer
|
|||
{
|
||||
sink.tableCell();
|
||||
|
||||
sink.text( text );
|
||||
if ( text != null )
|
||||
{
|
||||
sink.text( text );
|
||||
}
|
||||
else
|
||||
{
|
||||
sink.nonBreakingSpace();
|
||||
}
|
||||
|
||||
sink.tableCell_();
|
||||
}
|
||||
|
@ -181,4 +189,13 @@ public abstract class AbstractMavenReportRenderer
|
|||
sink.text( caption );
|
||||
sink.tableCaption_();
|
||||
}
|
||||
|
||||
protected void paragraph( String paragraph )
|
||||
{
|
||||
sink.paragraph();
|
||||
|
||||
sink.text( paragraph );
|
||||
|
||||
sink.paragraph_();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue