Some Galileo inspired raw type and dead code elimination.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5956 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -88,7 +88,7 @@ public class Streamer
|
||||
*/
|
||||
public static Class<?> getStreamerClass (Object object)
|
||||
{
|
||||
return (object instanceof Enum) ?
|
||||
return (object instanceof Enum<?>) ?
|
||||
((Enum<?>)object).getDeclaringClass() : object.getClass();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user