diff --git a/src/main/java/com/threerings/presents/server/InvocationDispatcher.java b/src/main/java/com/threerings/presents/server/InvocationDispatcher.java index 02aa1d203..a88df79dd 100644 --- a/src/main/java/com/threerings/presents/server/InvocationDispatcher.java +++ b/src/main/java/com/threerings/presents/server/InvocationDispatcher.java @@ -54,8 +54,8 @@ public abstract class InvocationDispatcher * Performs type casts in a way that works for parameterized types as well as simple types. */ @SuppressWarnings("unchecked") - protected T cast (Object value) + protected K cast (Object value) { - return (T)value; + return (K)value; } }