Typo and line wrapping from Dave.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2786 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-06-16 23:31:38 +00:00
parent b7d2aa2ef5
commit 1626ca0d44
@@ -44,8 +44,7 @@ public class Comparators
return -1;
}
// now that we've filtered all nulls, compare the toString()s
return String.CASE_INSENSITIVE_ORDER.compare(
o1.toString(), o2.toString());
return String.CASE_INSENSITIVE_ORDER.compare(o1.toString(), o2.toString());
}
};
@@ -71,7 +70,7 @@ public class Comparators
/**
* Returns the Comparator for Comparables, properly cast.
*
* <p>This example illustates the type-safe way to obtain a natural-ordering Comparator:
* <p>This example illustrates the type-safe way to obtain a natural-ordering Comparator:
* <pre>
* Comparator&lt;Integer&gt; = Comparators.comparable();
* </pre>