aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main')
-rw-r--r--plugins/base/src/main/kotlin/resolvers/shared/RecognizedLinkFormat.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/resolvers/shared/RecognizedLinkFormat.kt b/plugins/base/src/main/kotlin/resolvers/shared/RecognizedLinkFormat.kt
index e8044b4f..5dea3c86 100644
--- a/plugins/base/src/main/kotlin/resolvers/shared/RecognizedLinkFormat.kt
+++ b/plugins/base/src/main/kotlin/resolvers/shared/RecognizedLinkFormat.kt
@@ -13,6 +13,6 @@ enum class RecognizedLinkFormat(override val formatName: String, override val li
companion object {
fun fromString(formatName: String) =
- values().asSequence().filter { it.formatName == formatName }.firstOrNull()
+ values().firstOrNull { it.formatName == formatName }
}
-} \ No newline at end of file
+}