From 8e16ed877fe78f7980db480bfa74c8b49c49245f Mon Sep 17 00:00:00 2001 From: Sergey Mashkov Date: Thu, 30 Jan 2020 16:24:26 +0300 Subject: [PATCH] Fix codestyle --- .../ktor-http-cio/jvm/src/io/ktor/http/cio/Pipeline.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ktor-http/ktor-http-cio/jvm/src/io/ktor/http/cio/Pipeline.kt b/ktor-http/ktor-http-cio/jvm/src/io/ktor/http/cio/Pipeline.kt index 24ca8a1f7..820b9df3a 100644 --- a/ktor-http/ktor-http-cio/jvm/src/io/ktor/http/cio/Pipeline.kt +++ b/ktor-http/ktor-http-cio/jvm/src/io/ktor/http/cio/Pipeline.kt @@ -60,9 +60,10 @@ class ServerRequestScope internal constructor( * Creates another request scope with same parameters except coroutine context */ @KtorExperimentalAPI - fun withContext(coroutineContext: CoroutineContext): ServerRequestScope = - ServerRequestScope(this.coroutineContext + coroutineContext, - input, output, remoteAddress, upgraded) + fun withContext(coroutineContext: CoroutineContext): ServerRequestScope = ServerRequestScope( + this.coroutineContext + coroutineContext, + input, output, remoteAddress, upgraded + ) } /**