Array in data class inspection: warning on array properties in data classes #KT-10299 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports array properties in a data class without overridden <code>equals()</code> or <code>hashCode()</code> inside.
|
||||
Due to default <code>equals()</code> behaviour for arrays in JVM, it's strongly recommended to override <code>equals()</code> and <code>hashCode()</code> in such cases.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user