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:
@@ -53,7 +53,7 @@ public class GenUtil extends com.samskivert.util.GenUtil
|
||||
public static String simpleASName (Class<?> clazz)
|
||||
{
|
||||
if (clazz.isArray()) {
|
||||
Class compoType = clazz.getComponentType();
|
||||
Class<?> compoType = clazz.getComponentType();
|
||||
if (Byte.TYPE.equals(compoType)) {
|
||||
return "ByteArray";
|
||||
} else if (Object.class.equals(compoType)) {
|
||||
|
||||
Reference in New Issue
Block a user