writeSourceRepository( writer, anonymousConnection );
XmlWriterUtil.writeLineBreak( writer );</BUG>
XmlWriterUtil.writeCommentText( writer, "Developer Source Repository", 2 );
<BUG>String developerConnection = scm.getDeveloperConnection();
writeSourceRepository( writer, developerConnection );
}</BUG>
private void writeSourceRepository( XMLWriter writer, String connection )
{
ScmRepository repository = getScmRepository( connection );
writer.startElement( "repository" );

writeSourceRepository( writer, anonymousConnection );
}
String developerConnection = scm.getDeveloperConnection();
if ( StringUtils.isNotEmpty( developerConnection ) )
{
XmlWriterUtil.writeLineBreak( writer );
XmlWriterUtil.writeCommentText( writer, "Developer Source Repository", 2 );
writeSourceRepository( writer, developerConnection );
}
}
private void writeSourceRepository( XMLWriter writer, String connection )
{
ScmRepository repository = getScmRepository( connection );
writer.startElement( "repository" );
