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) @Throws(IOException::class)
override fun intercept(chain: Interceptor.Chain): Response = override fun intercept(chain: Interceptor.Chain): Response =
if (CALLBACK != null) { if (callback != null) {
CALLBACK!!.getResponse(chain) callback!!.getResponse(chain)
} else { } else {
chain.proceed(chain.request()) chain.proceed(chain.request())
} }
companion object { companion object {
var CALLBACK: Callback? = null var callback: Callback? = null
} }
} }