1
0
mirror of https://github.com/square/okhttp.git synced 2025-08-07 12:42:57 +03:00

Fix merge conflicts after spotless applied (#4933)

This commit is contained in:
Yuri Schimke
2019-04-12 21:54:08 +01:00
committed by GitHub
parent b89e9ed5c4
commit 9f5a96fe7c
3 changed files with 3 additions and 3 deletions

View File

@@ -150,7 +150,7 @@ class LoggingEventListener private constructor(
open class Factory @JvmOverloads constructor(
private val logger: HttpLoggingInterceptor.Logger = HttpLoggingInterceptor.Logger.DEFAULT
) : EventListener.Factory {
constructor(block: (string: String) -> Unit): this(HttpLoggingInterceptor.Logger(block))
constructor(block: (string: String) -> Unit) : this(HttpLoggingInterceptor.Logger(block))
override fun create(call: Call): EventListener = LoggingEventListener(logger)
}

View File

@@ -16,4 +16,4 @@
@file:JvmName("Version")
package okhttp3.internal
const val userAgent = "okhttp/${projectVersion}"
const val userAgent = "okhttp/$projectVersion"