Skip to content

Conversation

@stklcode
Copy link
Owner

Deprecated in Java 20. Migrate URL parsing to backward compatible URI.

Deprecated in Java 20. Migrate URL parsing to backward compatible URI.
@stklcode stklcode added this to the 1.5 milestone Mar 28, 2025
@stklcode stklcode self-assigned this Mar 28, 2025
@stklcode stklcode changed the title replace deprecated java.net.URL usage with java.net.URI (#94) replace deprecated java.net.URL usage with java.net.URI Mar 28, 2025
@stklcode stklcode force-pushed the refactor/java-url branch from 9504899 to dad3502 Compare March 29, 2025 07:40
We can just pass the environment variable to other pre-existing methods
instead of parsing the URL twice. This also fixes URLs without explicit
ports where we should not store "-1" in this case.
@stklcode stklcode force-pushed the refactor/java-url branch from eb0a12e to ee2543e Compare March 29, 2025 10:51
@sonarqubecloud
Copy link

@stklcode stklcode merged commit ee2543e into main Mar 29, 2025
10 checks passed
@stklcode stklcode deleted the refactor/java-url branch March 29, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants