Skip to content

Commit

Permalink
Fix HttpUrl documentation (#6259)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Sep 10, 2020
1 parent 8c2f383 commit e4c3b28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
Expand Up @@ -211,9 +211,9 @@ import okio.Buffer
* Although they have different content, `java.net.URL` considers the following two URLs
* equal, and the [equals()][Object.equals] method between them returns true:
*
* * http://square.github.io/
* * https://example.net/
*
* * http://google.github.io/
* * https://example.com/
*
* This is because those two hosts share the same IP address. This is an old, bad design decision
* that makes `java.net.URL` unusable for many things. It shouldn't be used as a [Map] key or in a
Expand Down

0 comments on commit e4c3b28

Please sign in to comment.