Skip to content

Commit 113e1fe

Browse files
committed
Remove some log junk
1 parent 10be81a commit 113e1fe

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,24 +2120,18 @@ protected void executeReport(Locale unusedLocale) throws MavenReportException {
21202120
if (applyJavadocSecurityFix) {
21212121
// finally, patch the Javadoc vulnerability in older Javadoc tools (CVE-2013-1571):
21222122
try {
2123-
final int patched = fixFrameInjectionBug(javadocOutputDirectory, getDocencoding());
2124-
if (patched > 0) {
2125-
getLog().info(String.format(
2126-
"Fixed Javadoc frame injection vulnerability (CVE-2013-1571) in %d files.", patched));
2127-
}
2123+
fixFrameInjectionBug(javadocOutputDirectory, getDocencoding());
21282124
} catch (IOException e) {
21292125
throw new MavenReportException("Failed to patch javadocs vulnerability: " + e.getMessage(), e);
21302126
}
2131-
} else {
2132-
getLog().info("applying javadoc security fix has been disabled");
21332127
}
21342128
}
21352129

21362130
/**
21372131
* Method to get the files on the specified source paths
21382132
*
21392133
* @param sourcePaths a Collection that contains the paths to the source files
2140-
* @return a List that contains the specific path for every source file
2134+
* @return the specific path for every source file
21412135
* @throws MavenReportException {@link MavenReportException} issue while generating report
21422136
*/
21432137
protected Map<Path, Collection<String>> getFiles(Collection<Path> sourcePaths) throws MavenReportException {

0 commit comments

Comments
 (0)