diff --git a/src/java/com/samskivert/util/Comparators.java b/src/java/com/samskivert/util/Comparators.java index 1c35d225..ef1ab952 100644 --- a/src/java/com/samskivert/util/Comparators.java +++ b/src/java/com/samskivert/util/Comparators.java @@ -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. * - *
This example illustates the type-safe way to obtain a natural-ordering Comparator: + *
This example illustrates the type-safe way to obtain a natural-ordering Comparator: *
* Comparator<Integer> = Comparators.comparable();
*