From 4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 4 Dec 2023 04:18:48 +0100 Subject: removed unused function --- src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/main') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt index f8ab9d092..b7b263a22 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt @@ -76,9 +76,6 @@ object StringUtils { return toString().replace("-", "") } - private fun String.removeAtBeginning(text: String): String = - if (this.startsWith(text)) substring(text.length) else this - // TODO find better name for this method inline fun Pattern.matchMatcher(text: String, consumer: Matcher.() -> T) = matcher(text).let { if (it.matches()) consumer(it) else null } -- cgit