fix StringStoredProperty equal

This commit is contained in:
Vladimir Krivosheev
2017-05-03 09:57:31 +02:00
parent ede685bd3e
commit de760865cb
@@ -192,7 +192,7 @@ private class StringStoredProperty(override val defaultValue: String?) : ReadWri
}
}
override fun equals(other: Any?) = this === other || (other is StringStoredProperty<*> && value == other.value)
override fun equals(other: Any?) = this === other || (other is StringStoredProperty && value == other.value)
override fun hashCode() = value?.hashCode() ?: 0