Skip to content

Conversation

bact
Copy link
Collaborator

@bact bact commented Apr 17, 2025

  • "new url("")" is deprecated in Java 20
  • Use recommended URI.create().tourl("") (available since Java 1.4)

- URI.created().tourl("") is available since Java 1.4
- new url("") (constructor) is deprecated in Java 20

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the test Unit test, code coverage, test case label Apr 17, 2025
@bact bact changed the title Use URI.created().tourl("") instead of thhe deprecated url("") constructor Use URI.create().tourl("") instead of the deprecated url("") constructor Apr 17, 2025
Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bact bact merged commit c391d5c into spdx:master Apr 19, 2025
1 check passed
@bact bact deleted the add-schema-ver-check branch April 19, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Unit test, code coverage, test case
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants