diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-15 10:15:06 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-15 10:15:06 +0100 |
commit | 791905a8ac2e3aee650ba8d04fc8a853ab8fcdca (patch) | |
tree | 7b29ef904760c0fee806ed78649b763e23c968b2 /src/main/java/at | |
parent | 8b353175fbff69e0baffadbb0c4857515f3add00 (diff) | |
download | skyhanni-791905a8ac2e3aee650ba8d04fc8a853ab8fcdca.tar.gz skyhanni-791905a8ac2e3aee650ba8d04fc8a853ab8fcdca.tar.bz2 skyhanni-791905a8ac2e3aee650ba8d04fc8a853ab8fcdca.zip |
mark anyContains as deprecated
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt index 4f0704ead..e90f8ee34 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt @@ -535,5 +535,6 @@ object LorenzUtils { TitleManager.sendTitle(text, duration, height) } + @Deprecated("Dont use this approach at all. check with regex or equals instead.", ReplaceWith("Regex or equals")) fun Iterable<String>.anyContains(element: String) = any { it.contains(element) } } |