We're already using T for other things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6241 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -54,8 +54,8 @@ public abstract class InvocationDispatcher<T extends InvocationMarshaller>
|
||||
* Performs type casts in a way that works for parameterized types as well as simple types.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
protected <T> T cast (Object value)
|
||||
protected <K> K cast (Object value)
|
||||
{
|
||||
return (T)value;
|
||||
return (K)value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user