Fixed a bunch of type safety bits pointed out by the latest version of Eclipse.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5274 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-07-30 12:58:51 +00:00
parent ca4c5897fb
commit 725f656197
77 changed files with 248 additions and 250 deletions
@@ -35,7 +35,7 @@ import java.util.RandomAccess;
public class BasicStreamers
{
/** An array of types for all of the basic streamers. */
public static Class[] BSTREAMER_TYPES = {
public static Class<?>[] BSTREAMER_TYPES = {
Boolean.class,
Byte.class,
Short.class,
@@ -419,7 +419,7 @@ public class BasicStreamers
public void writeObject (Object object, ObjectOutputStream out, boolean useWriter)
throws IOException
{
writeList(out, (List)object);
writeList(out, (List<?>)object);
}
}
@@ -538,7 +538,7 @@ public class BasicStreamers
return value;
}
public static ArrayList readList (ObjectInputStream ins)
public static ArrayList<?> readList (ObjectInputStream ins)
throws IOException, ClassNotFoundException
{
int ecount = ins.readInt();
@@ -637,7 +637,7 @@ public class BasicStreamers
}
}
public static void writeList (ObjectOutputStream out, List value)
public static void writeList (ObjectOutputStream out, List<?> value)
throws IOException
{
int ecount = value.size();