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