Let's handle the common case first here too.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5014 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2008-04-23 17:35:09 +00:00
parent cd9126b55c
commit bf55267dac
@@ -152,13 +152,13 @@ public class ClientDObjectMgr
Object obj;
if ((obj = _actions.getNonBlocking()) != null) {
// do the proper thing depending on the object
if (obj instanceof BootstrapNotification) {
if (obj instanceof EventNotification) {
dispatchEvent(((EventNotification)obj).getEvent());
} else if (obj instanceof BootstrapNotification) {
BootstrapData data = ((BootstrapNotification)obj).getData();
_client.gotBootstrap(data, this);
} else if (obj instanceof EventNotification) {
dispatchEvent(((EventNotification)obj).getEvent());
} else if (obj instanceof ObjectResponse<?>) {
registerObjectAndNotify((ObjectResponse<?>)obj);