o Refactor by using "Extract Method" to make renderBody() shorter. Fixes error reported by Checkstyle.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@670420 13f79535-47bb-0310-9956-ffa450edef68
master
Dennis Lundberg 2008-06-22 22:03:12 +00:00
parent 5df22c546d
commit fe507ed87b
1 changed files with 10 additions and 0 deletions

View File

@ -420,6 +420,16 @@ public class PluginReport
endSection(); endSection();
renderUsageSection( hasMavenReport );
}
/**
* Render the section about the usage of the plugin.
*
* @param hasMavenReport If the plugin has a report or not
*/
private void renderUsageSection( boolean hasMavenReport )
{
startSection( getBundle( locale ).getString( "report.plugin.usage" ) ); startSection( getBundle( locale ).getString( "report.plugin.usage" ) );
// Configuration // Configuration