Skip to content

Commit 71a6ca4

Browse files
perceptron8olamy
andauthored
Remove Javadoc 1.4+ / -1.1 switch related warning (#1240)
* Remove ignored -1.1 switch warning * Add @deprecated reason to `old`, no longer used parameter --------- Signed-off-by: Olivier Lamy <[email protected]> Co-authored-by: Olivier Lamy <[email protected]>
1 parent 932fa69 commit 71a6ca4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,7 @@ public AbstractJavadocMojo(
733733
* Javadoc 1.1. This is no longer supported since Javadoc 1.4 (shipped with JDK 1.4)
734734
*
735735
* @see <a href="https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#a1.1">Javadoc option 1.1</a>.
736+
* @deprecated No longer used.
736737
*/
737738
@Parameter(property = "old", defaultValue = "false")
738739
@Deprecated
@@ -4324,10 +4325,6 @@ private void addJavadocOptions(
43244325

43254326
// all options in alphabetical order
43264327

4327-
if (getLog().isWarnEnabled()) {
4328-
getLog().warn("Javadoc 1.4+ doesn't support the -1.1 switch anymore. Ignore this option.");
4329-
}
4330-
43314328
addArgIfNotEmpty(arguments, "-bootclasspath", JavadocUtil.quotedPathArgument(getBootclassPath()));
43324329

43334330
if (breakiterator) {

0 commit comments

Comments
 (0)