A healthy dash of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5798 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -27,6 +27,7 @@ import java.util.Set;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.threerings.io.UnreliableObjectInputStream;
|
||||
import com.threerings.io.UnreliableObjectOutputStream;
|
||||
|
||||
@@ -72,6 +73,7 @@ public class DatagramSequencer
|
||||
mappedClasses = null;
|
||||
} else {
|
||||
_uout.setMappedClasses(new HashSet<Class<?>>());
|
||||
|
||||
}
|
||||
|
||||
// likewise with the intern mappings
|
||||
@@ -79,6 +81,7 @@ public class DatagramSequencer
|
||||
mappedInterns = null;
|
||||
} else {
|
||||
_uout.setMappedInterns(new HashSet<String>());
|
||||
|
||||
}
|
||||
|
||||
// record the transmission
|
||||
@@ -164,5 +167,5 @@ public class DatagramSequencer
|
||||
protected int _lastReceived;
|
||||
|
||||
/** Records of datagrams sent. */
|
||||
protected ArrayList<SendRecord> _sendrecs = new ArrayList<SendRecord>();
|
||||
protected ArrayList<SendRecord> _sendrecs = Lists.newArrayList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user