You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/01/06 00:50:52 UTC
[maven-plugin-tools] 02/02: Add missing @Override annotations to
PluginReport
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
commit 3989d3624e6aff9d9bd1788a6922e0a29f5013ce
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Jan 5 08:09:18 2018 +0100
Add missing @Override annotations to PluginReport
---
.../main/java/org/apache/maven/plugin/plugin/PluginReport.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
index aafdcda..1193e10 100644
--- a/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
+++ b/maven-plugin-plugin/src/main/java/org/apache/maven/plugin/plugin/PluginReport.java
@@ -208,6 +208,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
protected Renderer getSiteRenderer()
{
return siteRenderer;
@@ -216,6 +217,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
protected String getOutputDirectory()
{
// PLUGIN-191: output directory of plugin.html, not *-mojo.xml
@@ -225,6 +227,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
protected MavenProject getProject()
{
return project;
@@ -233,6 +236,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
public boolean canGenerateReport()
{
return pluginXmlFile != null && pluginXmlFile.isFile() && pluginXmlFile.canRead();
@@ -241,6 +245,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
protected void executeReport( Locale locale )
throws MavenReportException
{
@@ -372,6 +377,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
public String getDescription( Locale locale )
{
return getBundle( locale ).getString( "report.plugin.description" );
@@ -380,6 +386,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
public String getName( Locale locale )
{
return getBundle( locale ).getString( "report.plugin.name" );
@@ -388,6 +395,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
public String getOutputName()
{
return "plugin-info";
@@ -467,6 +475,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
public String getTitle()
{
return getBundle( locale ).getString( "report.plugin.title" );
@@ -475,6 +484,7 @@ public class PluginReport
/**
* {@inheritDoc}
*/
+ @Override
@SuppressWarnings( { "unchecked", "rawtypes" } )
public void renderBody()
{
--
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.