Properly type this ResultListener.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4758 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -33,7 +33,7 @@ import com.threerings.presents.server.InvocationException;
|
|||||||
* an instance fo {@link InvocationException} the message will be passed on to the confirm
|
* an instance fo {@link InvocationException} the message will be passed on to the confirm
|
||||||
* listener, otherwise they will be provided with {@link InvocationCodes#INTERNAL_ERROR}.
|
* listener, otherwise they will be provided with {@link InvocationCodes#INTERNAL_ERROR}.
|
||||||
*/
|
*/
|
||||||
public class ConfirmAdapter implements ResultListener
|
public class ConfirmAdapter implements ResultListener<Void>
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Creates an adapter with the supplied listener.
|
* Creates an adapter with the supplied listener.
|
||||||
@@ -44,7 +44,7 @@ public class ConfirmAdapter implements ResultListener
|
|||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited from interface
|
// documentation inherited from interface
|
||||||
public void requestCompleted (Object result)
|
public void requestCompleted (Void result)
|
||||||
{
|
{
|
||||||
_listener.requestProcessed();
|
_listener.requestProcessed();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user