aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-21 13:47:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-21 13:47:15 +0200
commit1cd7b79aa08c1177a78822015d49bc6ae73265fc (patch)
tree2da5319d3fece9ffb13b8a4671d2d8c5c0e413ff /src
parent9a410749c465280342ea176d855d9ca4ece94be2 (diff)
downloadskyhanni-1cd7b79aa08c1177a78822015d49bc6ae73265fc.tar.gz
skyhanni-1cd7b79aa08c1177a78822015d49bc6ae73265fc.tar.bz2
skyhanni-1cd7b79aa08c1177a78822015d49bc6ae73265fc.zip
added comment
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
index f257fd037..aa76d5706 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
@@ -142,6 +142,7 @@ object SkyHanniConfigSearchResetCommand {
}
private fun Any.getClassName(): String {
+ // we do not use javaClass.simpleName since we want to catch edge cases
val name = javaClass.name
return when (name) {
"at.hannibal2.skyhanni.config.core.config.Position" -> "Position"