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

prefer URI over URL for keys to avoid hostname resolution on equals #143

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Jul 7, 2020

> Two hosts are considered equivalent if both host names can be
> resolved into the same IP addresses; else if either host name can't
> be resolved, the host names must be equal without regard to case; or
> both host names equal to null.

https://docs.oracle.com/javase/6/docs/api/java/net/URL.html#equals(java.lang.Object)
@bjaglin bjaglin marked this pull request as ready for review July 7, 2020 14:25
@bjaglin bjaglin requested a review from olafurpg July 7, 2020 14:26
Copy link
Contributor

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

Thank you for the followup!

@bjaglin bjaglin merged commit 053b0c6 into scalacenter:master Jul 7, 2020
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