Skip to content

Commit

Permalink
Fix Log4j Javadoc links
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Feb 25, 2023
1 parent 254a9cc commit 934f521
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ public String getJavadocLink(String group, String artifact, String version) {
}

if (group.equals("org.apache.logging.log4j") && version.startsWith("2.")) {
return "https://logging.apache.org/log4j/2.x/" + artifact + "/apidocs/";
if (artifact.equals("log4j-api")) {
return "https://logging.apache.org/log4j/2.x/javadoc/log4j-api/";
}
else if (artifact.equals("log4j-core")) {
return "https://logging.apache.org/log4j/2.x/javadoc/log4j-core/";
}
}

if (group.startsWith("org.apache.tomcat")) {
Expand Down

0 comments on commit 934f521

Please sign in to comment.