TestConnectionFactory.kt: fixed property naming to adhere to ktLint standard

This commit is contained in:
tristan81 2024-09-19 00:14:24 +10:00
parent 9dce6831b6
commit 0ccfba5db7

View file

@ -21,14 +21,14 @@ private class TestStubInterceptor : Interceptor {
@Throws(IOException::class)
override fun intercept(chain: Interceptor.Chain): Response =
if (CALLBACK != null) {
CALLBACK!!.getResponse(chain)
if (callback != null) {
callback!!.getResponse(chain)
} else {
chain.proceed(chain.request())
}
companion object {
var CALLBACK: Callback? = null
var callback: Callback? = null
}
}