Sebastian Schuberth
12/06/2021, 4:57 PMsam
12/06/2021, 5:02 PMSebastian Schuberth
12/06/2021, 5:04 PMSebastian Schuberth
12/06/2021, 5:04 PMreferenceCategory=OTHER, referenceType=org.ossreviewtoolkit.utils.spdx.model.SpdxExternalReference$Type$Other@aa32f88, referenceLocator=acmecorp/acmenator/4.1.3-alpha),
referenceCategory=OTHER, referenceType=org.ossreviewtoolkit.utils.spdx.model.SpdxExternalReference$Type$Other@67eaebca, referenceLocator=acmecorp/acmenator/4.1.3-alpha),
Sebastian Schuberth
12/06/2021, 5:05 PMSebastian Schuberth
12/06/2021, 5:05 PMSebastian Schuberth
12/06/2021, 5:07 PMEmil Kantis
12/06/2021, 5:20 PMSebastian Schuberth
12/06/2021, 5:22 PMEmil Kantis
12/06/2021, 10:03 PMOther
as a data class if you need auto-generated equals by properties? it doesn’t feel like it would sense to automatically compare any sealed class within the same hierarchy using properties by defaultSebastian Schuberth
12/07/2021, 7:16 AMOther
is a sealed class... we need some sort of enum there. And we usually do not need property-equality for this class, other than the Kotest use-case. That said, should it work if I override equals / hashcode for the sealed class?Emil Kantis
12/07/2021, 7:21 AMsealed data class
could be used. Anyway, I think adding equals / hash code should also do the trickSebastian Schuberth
12/07/2021, 7:22 AMsealed data class
then, thanks!Sebastian Schuberth
12/07/2021, 8:06 AMSebastian Schuberth
12/07/2021, 8:07 AM