so when you have an array as a property of a data ...
# announcements
h
so when you have an array as a property of a data class, idea recommends you override equals and hashcode, then provides you with an implementation. Is that the same as the default data class implementation? if no, why not? if yes, why would the warning disappear?
k
The implementation that InteliJ generates is the same as the default data class one, yes. The warning is hoping you'll use
contentHashcode
while checking the idea-generated one.