Work around a compiler bug by FQing the Log classname we're using.

We can revert these statements when/if that bug gets fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3960 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-18 00:04:34 +00:00
parent 3ecf7e311e
commit add8f3f97c
5 changed files with 10 additions and 11 deletions
@@ -62,9 +62,9 @@ public class DObject // extends EventDispatcher
_listeners = new ArrayCollection();
} else if (_listeners.contains(listener)) {
Log.warning("Refusing repeat listener registration " +
com.threerings.presents.Log.warning("Refusing repeat listener registration " +
"[dobj=" + which() + ", list=" + listener + "].");
Log.logStackTrace(new Error());
com.threerings.presents.Log.logStackTrace(new Error());
return;
}
_listeners.addItem(listener);
@@ -95,9 +95,9 @@ public class DObject // extends EventDispatcher
(listener as EventListener).eventReceived(event);
}
} catch (e :Error) {
Log.warning("Listener choked during notification " +
com.threerings.presents.Log.warning("Listener choked during notification " +
"[list=" + listener + ", event=" + event + "].");
Log.logStackTrace(e);
com.threerings.presents.Log.logStackTrace(e);
}
}
}
@@ -114,7 +114,7 @@ public class DObject // extends EventDispatcher
_omgr.postEvent(event);
} else {
Log.warning("Unable to post event, object has no omgr " +
com.threerings.presents.Log.warning("Unable to post event, object has no omgr " +
"[oid=" + getOid() + ", class=" + ClassUtil.getClassName(this) +
", event=" + event + "].");
}
+1 -1
View File
@@ -123,7 +123,7 @@ public class DSet
}
} else if (contains(elem)) {
Log.warning("Refusing to add duplicate entry [set=" + this +
com.threerings.presents.Log.warning("Refusing to add duplicate entry [set=" + this +
", entry=" + elem + "].");
return false;
}
@@ -26,8 +26,7 @@ public class BootstrapData
// documentation inherited from interface Streamable
public function writeObject (out :ObjectOutputStream) :void
{
Log.warning("This is client code: BootstrapData shouldn't be written");
//out.writeShort(messageId);
com.threerings.presents.Log.warning("This is client code: BootstrapData shouldn't be written");
}
// documentation inherited from interface Streamable