Go back to using StreamableArrayList here, for now.
Events originating in Actionscript need to use that class because we have no generic List class in actionscript. For things that originate on the server this isn't a problem: java array -> Array, and java List -> Array But for things originating on the actionscript client, any array will become a java array unless we use StreamableArrayList. So: maybe it's time to add List to the aspirin library. :| git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6354 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -23,7 +23,7 @@ package com.threerings.presents.dobj;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.threerings.util.StreamableArrayList;
|
||||
|
||||
import com.threerings.presents.net.Transport;
|
||||
|
||||
@@ -57,7 +57,7 @@ public class CompoundEvent extends DEvent
|
||||
|
||||
_omgr = omgr;
|
||||
_target = target;
|
||||
_events = Lists.newArrayList();
|
||||
_events = StreamableArrayList.newList();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -188,5 +188,5 @@ public class CompoundEvent extends DEvent
|
||||
protected transient DObject _target;
|
||||
|
||||
/** A list of the events associated with this compound event. */
|
||||
protected List<DEvent> _events;
|
||||
protected StreamableArrayList<DEvent> _events;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user