Some little tidying.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4741 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-06-19 01:05:05 +00:00
parent a6a6af8e99
commit 8aadcfe757
@@ -157,9 +157,7 @@ public class ClientDObjectMgr
_client.gotBootstrap(data, this); _client.gotBootstrap(data, this);
} else if (obj instanceof EventNotification) { } else if (obj instanceof EventNotification) {
DEvent evt = ((EventNotification)obj).getEvent(); dispatchEvent(((EventNotification)obj).getEvent());
// Log.info("Dispatch event: " + evt);
dispatchEvent(evt);
} else if (obj instanceof ObjectResponse<?>) { } else if (obj instanceof ObjectResponse<?>) {
registerObjectAndNotify((ObjectResponse<?>)obj); registerObjectAndNotify((ObjectResponse<?>)obj);
@@ -203,6 +201,8 @@ public class ClientDObjectMgr
*/ */
protected void dispatchEvent (DEvent event) protected void dispatchEvent (DEvent event)
{ {
// Log.info("Dispatching event: " + evt);
// look up the object on which we're dispatching this event // look up the object on which we're dispatching this event
int remoteOid = event.getTargetOid(); int remoteOid = event.getTargetOid();
DObject target = _ocache.get(remoteOid); DObject target = _ocache.get(remoteOid);