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:
Dave Hoover
2008-07-28 17:23:07 +00:00
parent 93fb7b01f7
commit 8a8b615f9d
4 changed files with 4 additions and 8 deletions
@@ -612,7 +612,7 @@ public class BureauRegistry
int timeout = _bureau.launcherEntry.timeout;
if (timeout != 0) {
new Interval(_runQueue) {
public void expired () {
@Override public void expired () {
launchTimeoutExpired(_bureau);
}
}.schedule(timeout);
@@ -638,6 +638,7 @@ public class BureauRegistry
this.timeout = timeout;
}
@Override
public String toString ()
{
return StringUtil.fieldsToString(this);
@@ -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;
/**