diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt index 8e9b8efc2..e57fc1768 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUInternalName.kt @@ -20,9 +20,9 @@ class NEUInternalName private constructor(private val internalName: String) { return super.equals(other) } - override fun toString(): String { - return "internalName:$internalName" - } + override fun toString(): String = "internalName:$internalName" + + override fun hashCode(): Int = internalName.hashCode() // fun equals(other: String) = internalName == other }
\ No newline at end of file |