mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix StringStoredProperty equal
This commit is contained in:
@@ -192,7 +192,7 @@ private class StringStoredProperty(override val defaultValue: String?) : ReadWri
|
||||
}
|
||||
}
|
||||
|
||||
override fun equals(other: Any?) = this === other || (other is ObjectStoredProperty<*> && value == other.value)
|
||||
override fun equals(other: Any?) = this === other || (other is StringStoredProperty<*> && value == other.value)
|
||||
|
||||
override fun hashCode() = value?.hashCode() ?: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user