Skip to content

Comments

Remove equals operations based on URL objects#22

Merged
GGoetzelmann merged 3 commits intodevelopmentfrom
dev_remove_url_comparisons
May 30, 2025
Merged

Remove equals operations based on URL objects#22
GGoetzelmann merged 3 commits intodevelopmentfrom
dev_remove_url_comparisons

Conversation

@GGoetzelmann
Copy link
Contributor

The code until now occasionally used URLs in sets and as map keys. However, the equals method of java.net.URL is basically broken and its behaviour depends on the environment it is used in (offline, online, proxied,...). Moreover comparing URLs is a blocking operation.
Such occurrences are now replaced by URIs.

@GGoetzelmann GGoetzelmann merged commit 8ef683c into development May 30, 2025
12 checks passed
@GGoetzelmann GGoetzelmann deleted the dev_remove_url_comparisons branch May 30, 2025 17:31
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.

1 participant