Type-safety patrol!

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1849 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-05-31 04:30:41 +00:00
parent a1774e073d
commit 1412f7c5e7
@@ -23,14 +23,14 @@ package com.samskivert.util;
* passed directly, but allows for success to be handled in whatever way is * passed directly, but allows for success to be handled in whatever way is
* desired by the chaining result listener. * desired by the chaining result listener.
*/ */
public abstract class ChainedResultListener public abstract class ChainedResultListener<T>
implements ResultListener implements ResultListener<T>
{ {
/** /**
* Creates a chained result listener that will pass failure through to the * Creates a chained result listener that will pass failure through to the
* specified target. * specified target.
*/ */
public ChainedResultListener (ResultListener target) public ChainedResultListener (ResultListener<T> target)
{ {
_target = target; _target = target;
} }
@@ -41,5 +41,5 @@ public abstract class ChainedResultListener
_target.requestFailed(cause); _target.requestFailed(cause);
} }
protected ResultListener _target; protected ResultListener<T> _target;
} }