}
sink.tableRow_();
for ( int idx = 0; idx < actionList.size(); idx++ )
{
Action action = (Action) actionList.get( idx );
sink.tableRow();
sinkShowTypeIcon( sink, action.getType() );
sink.tableCell();
if ( escapeHTML )
{
sink.text( action.getAction() );
}
else
{
sink.rawText( action.getAction() );
}
// no null check needed classes from modello return a new ArrayList
if ( StringUtils.isNotEmpty( action.getIssue() ) || ( !action.getFixedIssues().isEmpty() ) )
{
sink.text( " " + bundle.getString( "report.changes.text.fixes" ) + " " );
// Try to get the issue management system specified in the changes.xml file
String system = action.getSystem();
// Try to get the issue management system configured in the POM
if ( StringUtils.isEmpty( system ) )
{
system = this.system;
}
// Use the default issue management system
if ( StringUtils.isEmpty( system ) )
{
system = DEFAULT_ISSUE_SYSTEM_KEY;
}
if ( !canGenerateIssueLinks( system ) )
{
constructIssueText( action.getIssue(), sink, action.getFixedIssues() );
}
else
{
constructIssueLink( action.getIssue(), system, sink, action.getFixedIssues() );
}
sink.text( "." );
}
if ( StringUtils.isNotEmpty( action.getDueTo() ) || ( !action.getDueTos().isEmpty() ) )
{
constructDueTo( sink, action, bundle, action.getDueTos() );
}
sink.tableCell_();
if ( NO_TEAMLIST.equals( teamlist ) )
{
sinkCell( sink, action.getDev() );
}
else
{
sinkCellLink( sink, action.getDev(), teamlist + "#" + action.getDev() );
}
if ( this.isAddActionDate() )
{
sinkCell( sink, action.getDate() );
}
sink.tableRow_();
}