Update this @ReplacedBy annotation to show that we'd need nullsLast().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2798 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -32,7 +32,7 @@ public class Comparators
|
|||||||
/**
|
/**
|
||||||
* A comparator that compares the toString() value of all objects case insensitively.
|
* A comparator that compares the toString() value of all objects case insensitively.
|
||||||
*/
|
*/
|
||||||
@ReplacedBy("com.google.common.collect.Ordering.from(String.CASE_INSENSITIVE_ORDER).onResultOf(Functions.toStringFunction()")
|
@ReplacedBy("com.google.common.collect.Ordering.from(String.CASE_INSENSITIVE_ORDER).onResultOf(Functions.toStringFunction()).nullsLast()")
|
||||||
public static final Comparator<Object> LEXICAL_CASE_INSENSITIVE = new Comparator<Object>() {
|
public static final Comparator<Object> LEXICAL_CASE_INSENSITIVE = new Comparator<Object>() {
|
||||||
public int compare (Object o1, Object o2)
|
public int compare (Object o1, Object o2)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user