Skip to content

Commit

Permalink
Convert RealCall.java to Kotlin (#4796)
Browse files Browse the repository at this point in the history
* Convert RealCall.java to Kotlin

* Rename RealCall.java to .kt

* Add temporary Java interop annotations

* Update Japicmp excludes

* Feedback
  • Loading branch information
Egor Andreevich authored Mar 26, 2019
1 parent 8059408 commit b650c4e
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 236 deletions.
9 changes: 9 additions & 0 deletions okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,15 @@ task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask, dependsOn: 'jar') {
'okhttp3.MediaType#charset(java.nio.charset.Charset)',
'okhttp3.MediaType#subtype()',
'okhttp3.MediaType#type()',
'okhttp3.RealCall#getResponseWithInterceptorChain()',
'okhttp3.RealCall#redactedUrl()',
'okhttp3.RealCall#toLoggableString()',
'okhttp3.RealCall$AsyncCall#callsPerHost()',
'okhttp3.RealCall$AsyncCall#executeOn(java.util.concurrent.ExecutorService)',
'okhttp3.RealCall$AsyncCall#get()',
'okhttp3.RealCall$AsyncCall#host()',
'okhttp3.RealCall$AsyncCall#request()',
'okhttp3.RealCall$AsyncCall#reuseCallsPerHostFrom(okhttp3.RealCall$AsyncCall)',
'okhttp3.TlsVersion#javaName()',
]
}
Expand Down
236 changes: 0 additions & 236 deletions okhttp/src/main/java/okhttp3/RealCall.java

This file was deleted.

Loading

0 comments on commit b650c4e

Please sign in to comment.