Skip to content

Commit b650c4e

Browse files
author
Egor Andreevich
authored
Convert RealCall.java to Kotlin (#4796)
* Convert RealCall.java to Kotlin * Rename RealCall.java to .kt * Add temporary Java interop annotations * Update Japicmp excludes * Feedback
1 parent 8059408 commit b650c4e

File tree

3 files changed

+222
-236
lines changed

3 files changed

+222
-236
lines changed

Diff for: okhttp/build.gradle

+9
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask, dependsOn: 'jar') {
180180
'okhttp3.MediaType#charset(java.nio.charset.Charset)',
181181
'okhttp3.MediaType#subtype()',
182182
'okhttp3.MediaType#type()',
183+
'okhttp3.RealCall#getResponseWithInterceptorChain()',
184+
'okhttp3.RealCall#redactedUrl()',
185+
'okhttp3.RealCall#toLoggableString()',
186+
'okhttp3.RealCall$AsyncCall#callsPerHost()',
187+
'okhttp3.RealCall$AsyncCall#executeOn(java.util.concurrent.ExecutorService)',
188+
'okhttp3.RealCall$AsyncCall#get()',
189+
'okhttp3.RealCall$AsyncCall#host()',
190+
'okhttp3.RealCall$AsyncCall#request()',
191+
'okhttp3.RealCall$AsyncCall#reuseCallsPerHostFrom(okhttp3.RealCall$AsyncCall)',
183192
'okhttp3.TlsVersion#javaName()',
184193
]
185194
}

Diff for: okhttp/src/main/java/okhttp3/RealCall.java

-236
This file was deleted.

0 commit comments

Comments
 (0)