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:
@@ -252,7 +252,7 @@ public class Client
|
||||
* matches. <em>Note also:</em> this method cannot be called until after the client has
|
||||
* established a connection with the server and the distributed object manager is available.
|
||||
*/
|
||||
public void registerFlushDelay (Class objclass, long delay)
|
||||
public void registerFlushDelay (Class<?> objclass, long delay)
|
||||
{
|
||||
ClientDObjectMgr omgr = (ClientDObjectMgr)getDObjectManager();
|
||||
omgr.registerFlushDelay(objclass, delay);
|
||||
|
||||
@@ -401,7 +401,7 @@ public class ClientDObjectMgr
|
||||
* This is guaranteed to be invoked via the invoker and can safely do main thread type things
|
||||
* like call back to the subscriber.
|
||||
*/
|
||||
protected void doUnsubscribe (int oid, Subscriber target)
|
||||
protected void doUnsubscribe (int oid, Subscriber<?> target)
|
||||
{
|
||||
DObject dobj = _ocache.get(oid);
|
||||
if (dobj != null) {
|
||||
|
||||
@@ -74,7 +74,7 @@ public interface InvocationReceiver
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public Comparable getKey ()
|
||||
public Comparable<?> getKey ()
|
||||
{
|
||||
return receiverCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user