Skip to content

Commit

Permalink
Remove Request.tags from our public API (#7114)
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse authored Feb 28, 2022
1 parent 39f99fb commit 1b7a85d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion okhttp/api/okhttp.api
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,6 @@ public final class okhttp3/Request {
public final fun -deprecated_url ()Lokhttp3/HttpUrl;
public final fun body ()Lokhttp3/RequestBody;
public final fun cacheControl ()Lokhttp3/CacheControl;
public final fun getTags ()Ljava/util/Map;
public final fun header (Ljava/lang/String;)Ljava/lang/String;
public final fun headers ()Lokhttp3/Headers;
public final fun headers (Ljava/lang/String;)Ljava/util/List;
Expand Down
2 changes: 1 addition & 1 deletion okhttp/src/jvmMain/kotlin/okhttp3/Request.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ actual class Request internal constructor(
@get:JvmName("method") actual val method: String,
@get:JvmName("headers") actual val headers: Headers,
@get:JvmName("body") actual val body: RequestBody?,
val tags: Map<Class<*>, Any>
internal val tags: Map<Class<*>, Any>
) {
internal actual var lazyCacheControl: CacheControl? = null

Expand Down

0 comments on commit 1b7a85d

Please sign in to comment.