From 1626ca0d44384242ff6bf093d29987fdaa5d694b Mon Sep 17 00:00:00 2001 From: samskivert Date: Wed, 16 Jun 2010 23:31:38 +0000 Subject: [PATCH] Typo and line wrapping from Dave. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2786 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/Comparators.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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();
      *