From 181eb3faf0dbafdc17fcee1030424c54e02794fc Mon Sep 17 00:00:00 2001 From: "ray.j.greenwell" Date: Fri, 16 Apr 2010 01:12:27 +0000 Subject: [PATCH] Gah! Gringos falling from the sky? git-svn-id: https://samskivert.googlecode.com/svn/trunk@2778 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/ObjectUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/com/samskivert/util/ObjectUtil.java b/src/java/com/samskivert/util/ObjectUtil.java index 33524cc8..0c1a442c 100644 --- a/src/java/com/samskivert/util/ObjectUtil.java +++ b/src/java/com/samskivert/util/ObjectUtil.java @@ -57,6 +57,7 @@ public class ObjectUtil * Compares two objects, returning -1 if left is null and right is not and 1 if left is * non-null and right is null. */ + @ReplacedBy("com.google.common.collect.Ordering.natural().nullsFirst().compare()") public static > int compareTo (T left, T right) { if (left == right) { // instances are both null or both the same instance