Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
New
Description
CharsRef.compareTo() currently directly compares byte values. However, everywhere that CharsRef objects are compared in the codebase instead uses the deprecated UTF16SortedAsUTF8Comparator static comparator. We should just reimplement compareTo() to use UTF-8 comparisons instead, and remove the deprecated methods.