Skip to content

Conversation

@vlsi
Copy link
Collaborator

@vlsi vlsi commented Nov 4, 2022

This is an alternative implementation for #693
The key difference is that I create TestElement.contentEquals and mark TestElement.equals deprecated.

@vlsi vlsi force-pushed the ci_random_matrix2 branch 2 times, most recently from aaa556c to 6ba12f3 Compare November 4, 2022 19:59
@vlsi vlsi force-pushed the ci_random_matrix2 branch 5 times, most recently from 0c4506d to 33df5c3 Compare April 29, 2023 20:09
vlsi added 5 commits April 30, 2023 09:21
…ment.contentEquals

Previously, AbstractTestElement.hashCode used System.identityHashcode,
so it was not consistent with equals, and TestElements were often used in
HashMap keys.

So the fix is to use reference equality in equals, so it becomes consistent
with hashCode.

AbstractTestElement.equals is marked deprecated because so the clients could
adjust their code if they really need compare the contents of the TestElements
rather than references.
__changeCase uses java-default locale, so the test does not support
tr_TR locale.


See apache#5723
@vlsi vlsi force-pushed the ci_random_matrix2 branch from 33df5c3 to b4e8ca2 Compare April 30, 2023 06:21
@vlsi vlsi marked this pull request as draft May 11, 2023 13:59
@vlsi vlsi closed this May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant