Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address deprecated URL instantiation #4166

Closed
NotMyFault opened this issue Sep 17, 2023 · 0 comments · Fixed by #4178
Closed

Address deprecated URL instantiation #4166

NotMyFault opened this issue Sep 17, 2023 · 0 comments · Fixed by #4178

Comments

@NotMyFault
Copy link
Member

Starting with Java 20, instantiating URLs via new URL is deprecated in favor of URI#toURL().

While the project's codebase targets Java 17, we can address backwards-compatible deprecations still.

The files of concern are the following: https://github.com/search?q=repo%3AIntellectualSites%2FPlotSquared%20%22new%20URL%22&type=code

More information about the deprecation can be found in the javadocs and constructor deprecation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant