@@ -515,7 +515,7 @@ public AbstractJavadocMojo(
515515 * Detect the Java API link for the current build, e.g. <code>https://docs.oracle.com/javase/1.4.2/docs/api/</code>
516516 * for Java source 1.4.
517517 * <br/>
518- * By default, the goal detects the Javadoc API link depending the value of the <code>source</code>
518+ * By default, the goal detects the Javadoc API link depending on the value of the <code>source</code>
519519 * parameter in the <code>org.apache.maven.plugins:maven-compiler-plugin</code>
520520 * (defined in <code>${project.build.plugins}</code> or in <code>${project.build.pluginManagement}</code>),
521521 * or try to compute it from the {@code javadocExecutable} version.
@@ -528,7 +528,7 @@ public AbstractJavadocMojo(
528528 private boolean detectJavaApiLink ;
529529
530530 /**
531- * Use this parameter <b>only</b> if if you want to override the default URLs.
531+ * Use this parameter <b>only</b> if you want to override the default URLs.
532532 *
533533 * The key should match {@code api_x}, where {@code x} matches the Java version.
534534 *
@@ -846,7 +846,7 @@ public AbstractJavadocMojo(
846846 // ----------------------------------------------------------------------
847847
848848 /**
849- * Specifies whether or not the author text is included in the generated Javadocs.
849+ * Specifies whether the author text is included in the generated Javadocs.
850850 * @see <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options">Doclet option author</a>.
851851 */
852852 @ Parameter (property = "author" , defaultValue = "true" )
@@ -1149,7 +1149,7 @@ public AbstractJavadocMojo(
11491149 private String noqualifier ;
11501150
11511151 /**
1152- * Omits from the generated docs the "Since" sections associated with the since tags .
1152+ * Omits the "Since" sections from the generated docs .
11531153 * @see <a href="https://docs.oracle.com/en/java/javase/17/docs/specs/man/javadoc.html#standard-doclet-options">Doclet option nosince</a>.
11541154 */
11551155 @ Parameter (property = "nosince" , defaultValue = "false" )
@@ -1345,8 +1345,8 @@ public AbstractJavadocMojo(
13451345 private TagletArtifact tagletArtifact ;
13461346
13471347 /**
1348- * Specifies several Taglet artifacts containing the taglet class files (.class). These taglets class names will be
1349- * auto-detect and so no need to specify them.
1348+ * Specifies several Taglet artifacts containing the taglet class files (.class). These taglet class names will be
1349+ * auto-detected and so no need to specify them.
13501350 * <br/>
13511351 * Example:
13521352 * <pre>
@@ -2111,7 +2111,7 @@ protected Map<Path, Collection<String>> getFiles(Collection<Path> sourcePaths) t
21112111 sourceDirectory , sourceFileIncludes , sourceFileExcludes , excludedPackages ));
21122112
21132113 // in the aggregate goal (and theoretically in others too), there can be
2114- // more then one module-info.java. Filter out all of them.
2114+ // more than one module-info.java. Filter out all of them.
21152115 if (autoExclude && files .removeIf (s -> s .endsWith ("module-info.java" ))) {
21162116 getLog ().debug ("Auto exclude module-info.java due to source value" );
21172117 }
@@ -3377,7 +3377,7 @@ private void addProxyArg(Commandline cmd) {
33773377 }
33783378
33793379 /**
3380- * Get the path of the Javadoc tool executable depending the user entry or try to find it depending the OS
3380+ * Get the path of the Javadoc tool executable depending on the user entry or try to find it depending on the OS
33813381 * or the <code>java.home</code> system property or the <code>JAVA_HOME</code> environment variable.
33823382 *
33833383 * @return the path of the Javadoc tool
@@ -3586,7 +3586,7 @@ private void addArgIf(List<String> arguments, boolean b, String value, JavaVersi
35863586
35873587 /**
35883588 * Convenience method to add an argument to the <code>command line</code>
3589- * if the the value is not null or empty.
3589+ * if the value is not null or empty.
35903590 * <p/>
35913591 * Moreover, the value could be comma separated.
35923592 *
@@ -3601,7 +3601,7 @@ private void addArgIfNotEmpty(List<String> arguments, String key, String value)
36013601
36023602 /**
36033603 * Convenience method to add an argument to the <code>command line</code>
3604- * if the the value is not null or empty.
3604+ * if the value is not null or empty.
36053605 * <p/>
36063606 * Moreover, the value could be comma separated.
36073607 *
@@ -3635,7 +3635,7 @@ private void addArgIfNotEmpty(
36353635
36363636 /**
36373637 * Convenience method to add an argument to the <code>command line</code>
3638- * if the the value is not null or empty.
3638+ * if the value is not null or empty.
36393639 * <p/>
36403640 * Moreover, the value could be comma separated.
36413641 *
@@ -3673,7 +3673,7 @@ private void addArgIfNotEmpty(
36733673
36743674 /**
36753675 * Convenience method to add an argument to the <code>command line</code>
3676- * if the the value is not null or empty.
3676+ * if the value is not null or empty.
36773677 * <p/>
36783678 * Moreover, the value could be comma separated.
36793679 *
@@ -3774,7 +3774,7 @@ private Set<OfflineLink> getOfflineLinks() throws MavenReportException {
37743774 * If {@code detectLinks}, try to add javadoc apidocs according Maven conventions for all dependencies given
37753775 * in the project.
37763776 * <br/>
3777- * According the Javadoc documentation, all defined links should have <code>${link}/package-list</code> fetchable.
3777+ * According to the Javadoc documentation, all defined links should have <code>${link}/package-list</code> fetchable.
37783778 * <br/>
37793779 * <b>Note</b>: when a link is not fetchable:
37803780 * <ul>
@@ -4165,8 +4165,8 @@ private void addCommandLineOptions(Commandline cmd, List<String> arguments, File
41654165 }
41664166
41674167 /**
4168- * Generate a file called <code>argfile</code> (or <code>files</code>, depending the JDK) to hold files and add
4169- * the <code>@argfile</code> (or <code>@file</code>, depending the JDK) in the command line.
4168+ * Generate a file called <code>argfile</code> (or <code>files</code>, depending on the JDK) to hold files and add
4169+ * the <code>@argfile</code> (or <code>@file</code>, depending on the JDK) in the command line.
41704170 *
41714171 * @param cmd not null
41724172 * @param javadocOutputDirectory not null
@@ -4392,7 +4392,7 @@ private void addJavadocOptions(
43924392 if (aggregatedProject != null && !"pom" .equals (aggregatedProject .getPackaging ())) {
43934393 ResolvePathResult result = null ;
43944394
4395- // Prefer jar over outputDirectory, since it may may contain an automatic module name
4395+ // Prefer jar over outputDirectory, since it may contain an automatic module name
43964396 File artifactFile = getClassesFile (aggregatedProject );
43974397 if (artifactFile != null ) {
43984398 ResolvePathRequest <File > request = ResolvePathRequest .ofFile (artifactFile );
@@ -5402,7 +5402,7 @@ private List<OfflineLink> getModulesLinks() throws MavenReportException {
54025402 throw new MavenReportException (e .getMessage (), e );
54035403 }
54045404 } finally {
5405- // just create the directory to prevent repeated invocations..
5405+ // just create the directory to prevent repeated invocations.
54065406 if (!location .exists ()) {
54075407 getLog ().warn ("Creating fake javadoc directory to prevent repeated invocations: " + location );
54085408 location .mkdirs ();
0 commit comments