Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.7
-
None
-
New
Description
Sort.rewrite doesn't always return this as advertised in the Javadoc even if the underlying fields are unchanged. This is because the comparison uses reference equality.
There are two solutions we can do here, 1) switch from reference equality to object equality, and 2) fix some of the underlying sort fields to not create unnecessary objects.
cc: jpountz romseygeek
Attachments
Issue Links
- links to