diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 04:18:48 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 04:18:48 +0100 |
commit | 4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1 (patch) | |
tree | a166a1a9d3db07e8d0542cb203c2f846ba125620 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 1cf1f68672d07767ed93150dd32094234eddd70c (diff) | |
download | skyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.tar.gz skyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.tar.bz2 skyhanni-4aab6d58e4c7a7b67acf8dac2dbff76fbe6a6ca1.zip |
removed unused function
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | 3 |
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 } |