if ( !cpd.getMatches().hasNext() )
{
LOGGER.info( "No duplicates over "
+ parameters.getMinimumTokenCount() + " tokens found" );
}
final Renderer renderer = new XMLRenderer( ENCODING );
if ( !parameters.getOutputFile().exists() )
{
if ( parameters.getOutputFile().createNewFile() == false )
{
LOGGER.warning( "Could not create a new output file" );
}
}
final FileReporter reporter = new FileReporter( parameters.getOutputFile(), ENCODING );
reporter.report( renderer.render( cpd.getMatches() ) );
}