From 4f9aee1f7a15628a7159e376bb27f2338643ed3b Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Thu, 26 Jan 2023 17:35:33 +0100 Subject: [PATCH] update comments --- .../src/main/kotlin/com/yubico/authenticator/CompatUtil.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/com/yubico/authenticator/CompatUtil.kt b/android/app/src/main/kotlin/com/yubico/authenticator/CompatUtil.kt index d4f76c23..c9dc3d2e 100644 --- a/android/app/src/main/kotlin/com/yubico/authenticator/CompatUtil.kt +++ b/android/app/src/main/kotlin/com/yubico/authenticator/CompatUtil.kt @@ -57,7 +57,7 @@ class CompatUtil(private val sdkVersion: Int) { } /** - * @return unwrapped value if valid or result of [block] + * @return unwrapped value or result of [block] */ @Suppress("UNCHECKED_CAST") fun otherwise(block: () -> T): T = @@ -72,7 +72,7 @@ class CompatUtil(private val sdkVersion: Int) { } /** - * @return unwrapped value if valid or [value] + * @return unwrapped value or [value] */ fun otherwise(value: T): T = otherwise { value } }