diff --git a/src/java/meetup/beeno/util/IOUtil.java b/src/java/meetup/beeno/util/IOUtil.java index c60e03e..b9e8e35 100644 --- a/src/java/meetup/beeno/util/IOUtil.java +++ b/src/java/meetup/beeno/util/IOUtil.java @@ -111,7 +111,7 @@ public static Date readDate( ObjectInput in ) throws IOException { return (in.readBoolean() ? null : new Date(in.readLong())); } - public static Object readEnum( ObjectInput in, Class enumType ) throws IOException { + public static > T readEnum( ObjectInput in, Class enumType ) throws IOException { String enumName = readString(in); if (enumName == null) return null;