Skip to content

Commit

Permalink
avoid deprecated java.net.URL constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 14, 2024
1 parent 74d10fb commit 3f4a8a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ object LicenseReport {
None
else {
val licenses = dep.licenses
val homepage = dep.homepage.map(string => new URL(string))
val homepage = dep.homepage.map(string => new URI(string).toURL)
Some(
DepLicense(
getModuleInfo(dep),
Expand Down

0 comments on commit 3f4a8a3

Please sign in to comment.