Skip to content

Commit

Permalink
Flatten some common HttpUrl internals
Browse files Browse the repository at this point in the history
Trying to reduce the number of indirections that were only
necessary when we were attempting to support multiplatform.
  • Loading branch information
squarejesse committed Jan 9, 2024
1 parent d1b4734 commit 153d08c
Show file tree
Hide file tree
Showing 8 changed files with 1,074 additions and 1,316 deletions.
21 changes: 0 additions & 21 deletions okhttp/src/main/kotlin/okhttp3/-JvmPlatform.kt

This file was deleted.

6 changes: 3 additions & 3 deletions okhttp/src/main/kotlin/okhttp3/FormBody.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ package okhttp3
import java.io.IOException
import java.nio.charset.Charset
import okhttp3.MediaType.Companion.toMediaType
import okhttp3.internal.CommonHttpUrl.FORM_ENCODE_SET
import okhttp3.internal.CommonHttpUrl.percentDecode
import okhttp3.internal.JvmHttpUrl.canonicalizeWithCharset
import okhttp3.internal.toImmutableList
import okhttp3.internal.url.FORM_ENCODE_SET
import okhttp3.internal.url.canonicalizeWithCharset
import okhttp3.internal.url.percentDecode
import okio.Buffer
import okio.BufferedSink

Expand Down
Loading

0 comments on commit 153d08c

Please sign in to comment.