From 5fa1380c5ce281930549b9348df37445809e7879 Mon Sep 17 00:00:00 2001 From: "ray.j.greenwell" Date: Fri, 16 Apr 2010 00:56:39 +0000 Subject: [PATCH] @ReplacedBy something in guava. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2776 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/Callables.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/com/samskivert/util/Callables.java b/src/java/com/samskivert/util/Callables.java index 06aa18a4..d8eff18b 100644 --- a/src/java/com/samskivert/util/Callables.java +++ b/src/java/com/samskivert/util/Callables.java @@ -5,6 +5,8 @@ package com.samskivert.util; import java.util.concurrent.Callable; +import com.samskivert.annotation.ReplacedBy; + /** * Utilities for Callables. */ @@ -14,6 +16,7 @@ public class Callables * Return a {@link Callable} that merely returns the specified value. * No exception will ever be thrown. */ + @ReplacedBy("com.google.common.util.concurrent.Callables#returning()") public static Callable asCallable (final V value) { return new Callable() {