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:
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -80,8 +80,7 @@ public class TestClient
|
||||
// register ourselves as a test notification receiver
|
||||
client.getInvocationDirector().registerReceiver(new TestDecoder(this));
|
||||
|
||||
TestService service = (TestService)
|
||||
client.requireService(TestService.class);
|
||||
TestService service = client.requireService(TestService.class);
|
||||
|
||||
// send a test request
|
||||
ArrayList<Integer> three = new ArrayList<Integer>();
|
||||
|
||||
Reference in New Issue
Block a user