aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 04:18:48 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 04:18:48 +0100
commit4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1 (patch)
treea166a1a9d3db07e8d0542cb203c2f846ba125620 /src/main/java/at
parent1cf1f68672d07767ed93150dd32094234eddd70c (diff)
downloadskyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.tar.gz
skyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.tar.bz2
skyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.zip
removed unused function
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt3
1 files changed, 0 insertions, 3 deletions
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 <T> Pattern.matchMatcher(text: String, consumer: Matcher.() -> T) =
matcher(text).let { if (it.matches()) consumer(it) else null }