Genericized, from Charlie.
Also de-microsofted the line endings. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2340 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -18,18 +18,18 @@
|
|||||||
// License along with this library; if not, write to the Free Software
|
// License along with this library; if not, write to the Free Software
|
||||||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
package com.samskivert.util;
|
package com.samskivert.util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The pessimist's dream. This ResultListener silently eats requestCompleted but makes subclasses
|
* The pessimist's dream. This ResultListener silently eats requestCompleted but makes subclasses
|
||||||
* handle requestFailed.
|
* handle requestFailed.
|
||||||
*/
|
*/
|
||||||
public abstract class FailureListener
|
public abstract class FailureListener<T>
|
||||||
implements ResultListener
|
implements ResultListener<T>
|
||||||
{
|
{
|
||||||
// documentation inherited from interface ResultListener
|
// documentation inherited from interface ResultListener
|
||||||
public void requestCompleted (Object result)
|
public void requestCompleted (T result)
|
||||||
{
|
{
|
||||||
// Yeah, yeah, yeah. You did something. Good for you.
|
// Yeah, yeah, yeah. You did something. Good for you.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user