Improve ListHeader #442
Reference in New Issue
Block a user
Delete Branch "ListHeader_improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So, I converted 10 classes to



dataand removed manually generatedequals/hashCodeBefore conversion:
With data classes:
The difference is 10 methods
Looks like
copy()andcomponentN()functions are absent, buttoString()is presentSo, I think, it is ok to use
dataclasses (ofc, it may consume a bit more time at compilation stage, but this is insignificant), thank you for this