Skip to content

Commit 149bf9a

Browse files
authored
Cure deprecation warning (#383)
1 parent c60edbc commit 149bf9a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,18 @@ public void generate(Sink sink, SinkFactory sinkFactory, Locale locale) throws M
148148
}
149149
}
150150

151-
/** {@inheritDoc} */
151+
/**
152+
* @deprecated use getOutputPath() instead
153+
*/
152154
@Override
155+
@Deprecated
153156
public String getOutputName() {
157+
return getOutputPath();
158+
}
159+
160+
/** {@inheritDoc} */
161+
@Override
162+
public String getOutputPath() {
154163
return (isTest() ? "test" : "") + "apidocs" + "/index";
155164
}
156165

0 commit comments

Comments
 (0)