From 56ce5d7a6675788aa78aed477467e84159909b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Sat, 26 Oct 2024 08:51:55 +0200 Subject: [PATCH] run `./formatKotlin` --- io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt b/io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt index 98df046e..4bae4ba7 100644 --- a/io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt +++ b/io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt @@ -42,8 +42,7 @@ interface Zip : Closeable { fun find(path: String) = entries.firstOrNull { it.path == path } - operator fun get(path: String) = - find(path) ?: throw FileNotFoundException("No entry: $path") + operator fun get(path: String) = find(path) ?: throw FileNotFoundException("No entry: $path") interface Entry { val path: String