commit | 18faff22684ebf763de4f49abc19fb8af7ef83da | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jun 24 17:45:02 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jun 26 16:58:22 2014 -0700 |
tree | b83ce3559e95d67af5131ea03fe1867df0574547 | |
parent | 7bc855c89a147c754b3d3367d9313a422ee1c277 [diff] |
Clarify the String.compareTo contract and add tests. Our use of vague terms like "negative" and "positive" led VM engineers to assume they had more leeway than they actually do. While we're here, let's fix all the ambiguous use of 'character' and add a warning and link to Collator anywhere the non-standard (and non-locale-specific) case folding is used. Change-Id: I0a0fb2a493861d32fac0bc4e28ae9634f8ac342c