From 41d06a264625dc1a409b5a2c60813c20dcdcda08 Mon Sep 17 00:00:00 2001 From: Amos Ng Date: Sun, 14 Jun 2020 19:04:20 +0800 Subject: [PATCH] Fixed minor linting issue --- src/main/kotlin/mdnet/base/server/ImageServer.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/base/server/ImageServer.kt b/src/main/kotlin/mdnet/base/server/ImageServer.kt index f573e55..ccbf01d 100644 --- a/src/main/kotlin/mdnet/base/server/ImageServer.kt +++ b/src/main/kotlin/mdnet/base/server/ImageServer.kt @@ -192,7 +192,8 @@ class ImageServer(private val cache: DiskLruCache, private val statistics: Atomi } else { it } - }.header("X-Cache", if (cached) "HIT" else "MISS") + } + .header("X-Cache", if (cached) "HIT" else "MISS") } private fun getRc4(key: ByteArray): Cipher {