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-ffa450edef68master
parent
5df22c546d
commit
fe507ed87b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue