Skip to content

Commit

Permalink
fix okhttp javadoc links
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Feb 27, 2022
1 parent 06b6849 commit f7c3a37
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,7 @@ private String findWellKnownLink(String group, String artifact, String version)
}

if (group.equals("com.squareup.okhttp3")) {
if (version.startsWith("3.")) {
return "https://square.github.io/okhttp/3.x/" + artifact + "/";
}
if (version.startsWith("4.")) {
return "https://square.github.io/okhttp/4.x/" + artifact + "/";
}
return "https://square.github.io/okhttp/4.x/" + artifact + "/";
}

if (group.equals("com.squareup.retrofit")) {
Expand Down

0 comments on commit f7c3a37

Please sign in to comment.