Be a bit more flexible with the generics here.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5456 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Mike Thomas
2008-10-23 23:18:44 +00:00
parent 2c35dbf0d0
commit c4e0d1d278
@@ -497,7 +497,8 @@ public class ChatDirector extends BasicDirector
* @param msg the contents of the tell message.
* @param rl an optional result listener if you'd like to be notified of success or failure.
*/
public void requestTell (final Name target, String msg, final ResultListener<Name> rl)
public <T extends Name> void requestTell (
final T target, String msg, final ResultListener<T> rl)
{
// make sure they can say what they want to say
final String message = filter(msg, target, true);