From 0bb3713fe8d8ce28eac2b8d9f1d2c1597f53cba0 Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Mon, 25 Oct 2010 23:10:08 +0000 Subject: [PATCH] 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 --- .../com/threerings/presents/server/InvocationDispatcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }