Would you believe, more type-safety?

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4167 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-05-31 04:44:21 +00:00
parent 83cffce259
commit 56216c27e8
@@ -35,7 +35,7 @@ import com.threerings.presents.server.InvocationException;
* to the result listener, otherwise they will be provided with {@link
* InvocationCodes#INTERNAL_ERROR}.
*/
public class ResultAdapter implements ResultListener
public class ResultAdapter<T> implements ResultListener<T>
{
/**
* Creates an adapter with the supplied listener.
@@ -46,7 +46,7 @@ public class ResultAdapter implements ResultListener
}
// documentation inherited from interface
public void requestCompleted (Object result)
public void requestCompleted (T result)
{
_listener.requestProcessed(result);
}