Clean up some warnings I'm getting in super-pedantic mode.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5268 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -145,8 +145,7 @@ public class Transport
|
||||
if (_unordered == null) {
|
||||
int length = Type.values().length;
|
||||
_unordered = new Transport[length];
|
||||
@SuppressWarnings("unchecked") HashIntMap<Transport>[] ordered =
|
||||
(HashIntMap<Transport>[])new HashIntMap[length];
|
||||
@SuppressWarnings("unchecked") HashIntMap<Transport>[] ordered = new HashIntMap[length];
|
||||
_ordered = ordered;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,10 +23,8 @@ package com.threerings.presents.tools;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.apache.tools.ant.DirectoryScanner;
|
||||
@@ -35,7 +33,6 @@ import org.apache.tools.ant.types.FileSet;
|
||||
|
||||
import com.threerings.io.SimpleStreamableObject;
|
||||
import com.threerings.io.Streamable;
|
||||
|
||||
import com.threerings.presents.dobj.DObject;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user