request.getLog().info( "There are " + nbErrors + " checkstyle errors." );
}
return sinkListener.getResults();
}
protected void addSourceDirectory( CheckstyleReportListener sinkListener, File sourceDirectory,
<BUG>File testSourceDirectory, CheckstyleExecutorRequest request )
{</BUG>
if ( sourceDirectory != null )
{
sinkListener.addSourceDirectory( sourceDirectory );

request.getLog().info( "There are " + nbErrors + " checkstyle errors." );
}
return sinkListener.getResults();
}
protected void addSourceDirectory( CheckstyleReportListener sinkListener, File sourceDirectory,
File testSourceDirectory, List<Resource> resources,
CheckstyleExecutorRequest request )
{
if ( sourceDirectory != null )
{
sinkListener.addSourceDirectory( sourceDirectory );
