You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/11/21 14:32:54 UTC
[maven-reporting-api] branch master updated: [MSHARED-1159] Require locale to be not null
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-reporting-api.git
The following commit(s) were added to refs/heads/master by this push:
new 8611270 [MSHARED-1159] Require locale to be not null
8611270 is described below
commit 861127007c4f331a55fa1f96b3dc46b1ec8cda9f
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Nov 21 15:32:34 2022 +0100
[MSHARED-1159] Require locale to be not null
---
src/main/java/org/apache/maven/reporting/MavenReport.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/maven/reporting/MavenReport.java b/src/main/java/org/apache/maven/reporting/MavenReport.java
index 52d8e47..98b5e50 100644
--- a/src/main/java/org/apache/maven/reporting/MavenReport.java
+++ b/src/main/java/org/apache/maven/reporting/MavenReport.java
@@ -49,7 +49,7 @@ public interface MavenReport
* Mainly used for external reports like javadoc.
*
* @param sink the sink to use for the generation.
- * @param locale the wanted locale to generate the report, could be null.
+ * @param locale the wanted locale to generate the report.
* @throws MavenReportException if any
*/
void generate( Sink sink, Locale locale )
@@ -73,7 +73,7 @@ public interface MavenReport
/**
* Get the localized report name.
*
- * @param locale the wanted locale to return the report's name, could be null.
+ * @param locale the wanted locale to return the report's name.
* @return the name of this report.
*/
String getName( Locale locale );
@@ -81,7 +81,7 @@ public interface MavenReport
/**
* Get the localized report description.
*
- * @param locale the wanted locale to return the report's description, could be null.
+ * @param locale the wanted locale to return the report's description.
* @return the description of this report.
*/
String getDescription( Locale locale );