Skip to content

Conversation

@dwalluck
Copy link
Contributor

PackageURL is an immutable class, so the fields should be final. This is achieved by moving the parsing code into the constructor. This fixes @NullMarked fields must be initialized.

`PackageURL` is an immutable class, so the fields should be `final`.
This is achieved by moving the parsing code into the constructor.
This fixes `@NullMarked` fields must be initialized.
@jeremylong jeremylong merged commit 3c63274 into package-url:master Mar 22, 2025
3 checks passed
@dwalluck dwalluck deleted the make-fields-final branch April 15, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants