fix StringStoredProperty equal

This commit is contained in:
Vladimir Krivosheev
2017-05-03 09:53:35 +02:00
parent 967b4644a1
commit ede685bd3e
@@ -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