diff --git a/src/as/com/threerings/crowd/chat/client/BroadcastHandler.as b/src/as/com/threerings/crowd/chat/client/BroadcastHandler.as index bfc0b237a..f565af5f2 100644 --- a/src/as/com/threerings/crowd/chat/client/BroadcastHandler.as +++ b/src/as/com/threerings/crowd/chat/client/BroadcastHandler.as @@ -22,7 +22,6 @@ package com.threerings.crowd.chat.client { import com.threerings.util.Name; -import com.threerings.util.ResultAdapter; import com.threerings.util.ResultListener; import com.threerings.util.StringUtil; diff --git a/src/as/com/threerings/crowd/chat/data/ChatCodes.as b/src/as/com/threerings/crowd/chat/data/ChatCodes.as index 8eb0a425c..6c40b0d8b 100644 --- a/src/as/com/threerings/crowd/chat/data/ChatCodes.as +++ b/src/as/com/threerings/crowd/chat/data/ChatCodes.as @@ -26,9 +26,6 @@ import com.threerings.presents.data.Permission; import com.threerings.crowd.data.BodyObject; -import com.threerings.crowd.chat.client.ChatDirector; -import com.threerings.crowd.chat.client.SpeakService; - /** * Contains codes used by the chat invocation services. */ diff --git a/src/as/com/threerings/crowd/client/LocationDirector.as b/src/as/com/threerings/crowd/client/LocationDirector.as index 813fecaf3..faa48f4ef 100644 --- a/src/as/com/threerings/crowd/client/LocationDirector.as +++ b/src/as/com/threerings/crowd/client/LocationDirector.as @@ -38,7 +38,6 @@ import com.threerings.presents.dobj.SubscriberAdapter; import com.threerings.crowd.data.BodyObject; import com.threerings.crowd.data.CrowdCodes; -import com.threerings.crowd.data.LocationCodes; import com.threerings.crowd.data.LocationMarshaller; import com.threerings.crowd.data.PlaceConfig; import com.threerings.crowd.data.PlaceObject; diff --git a/src/as/com/threerings/crowd/client/PlaceViewUtil.as b/src/as/com/threerings/crowd/client/PlaceViewUtil.as index cf07c9327..6094a72ad 100644 --- a/src/as/com/threerings/crowd/client/PlaceViewUtil.as +++ b/src/as/com/threerings/crowd/client/PlaceViewUtil.as @@ -71,10 +71,6 @@ public class PlaceViewUtil private static function dispatch ( root :Object, plobj :PlaceObject, funct :String) :void { - if (!(root is DisplayObject)) { - return; - } - // much of the code in here is adapted from // com.threerings.flash.DisplayUtil, which we cannot access because // it's in the nenya package. So sad, too bad. @@ -90,6 +86,10 @@ public class PlaceViewUtil } } + if (!(root is DisplayObject)) { + return; + } + if (root is DisplayObjectContainer) { // a little type-unsafety so that we don't have to write two blocks var o :Object= (root is IRawChildrenContainer) ? diff --git a/src/as/com/threerings/presents/dobj/DSet_Entry.as b/src/as/com/threerings/presents/dobj/DSet_Entry.as index 2b1bdfeb6..4551d5be1 100644 --- a/src/as/com/threerings/presents/dobj/DSet_Entry.as +++ b/src/as/com/threerings/presents/dobj/DSet_Entry.as @@ -21,8 +21,6 @@ package com.threerings.presents.dobj { -import com.threerings.util.Equalable; - import com.threerings.io.Streamable; public interface DSet_Entry extends Streamable