From 195b6d0565f102382a0154d58c26ed815229ff36 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:14:09 +0000 Subject: [PATCH 1/2] Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index de908b7c..8de5e646 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -21,7 +21,7 @@ kotlin = "2.0.21" ktlint-gradle-plugin = "0.10.0" r8 = "8.5.35" assertJ = "3.26.3" -ktlint = "1.3.1" +ktlint = "1.4.0" [libraries] dalvikDx = { module = "com.jakewharton.android.repackaged:dalvik-dx", version.ref = "dalvikdx" } 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 2/2] 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