mirror of
https://github.com/square/okhttp.git
synced 2025-11-27 18:21:14 +03:00
Upgrade Okio and some build dependencies
The new ktlint sorts imports which makes this diff large. The new japicmp ignores 'final' modifier changes in final classes. We adopt the Google style for checkstyle.xml. Okio readByteString() now uses segments more aggressively, so we need to mitigate that to avoid tracking those segments in a test.
This commit is contained in:
@@ -15,15 +15,15 @@
|
||||
*/
|
||||
package okhttp3
|
||||
|
||||
import java.io.IOException
|
||||
import java.net.CookieHandler
|
||||
import java.net.HttpCookie
|
||||
import java.util.Collections
|
||||
import okhttp3.internal.cookieToString
|
||||
import okhttp3.internal.delimiterOffset
|
||||
import okhttp3.internal.platform.Platform
|
||||
import okhttp3.internal.platform.Platform.Companion.WARN
|
||||
import okhttp3.internal.trimSubstring
|
||||
import java.io.IOException
|
||||
import java.net.CookieHandler
|
||||
import java.net.HttpCookie
|
||||
import java.util.Collections
|
||||
|
||||
/** A cookie jar that delegates to a [java.net.CookieHandler]. */
|
||||
class JavaNetCookieJar(private val cookieHandler: CookieHandler) : CookieJar {
|
||||
|
||||
Reference in New Issue
Block a user