Fixed up a number of TODOs; created a new Wrapped interface to simplify

auto-unwrapping.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4286 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-07-24 19:53:24 +00:00
parent fb532c1349
commit ed1f43bdfc
15 changed files with 107 additions and 50 deletions
@@ -3,8 +3,8 @@ package com.threerings.presents.dobj {
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.Integer;
import com.threerings.util.StringBuilder;
import com.threerings.util.Wrapped;
/**
* An entry removed event is dispatched when an entry is removed from a
@@ -101,9 +101,8 @@ public class EntryRemovedEvent extends NamedEvent
super.readObject(ins);
_key = ins.readObject();
// TODO: for now...
if (_key is Integer) {
_key = (_key as Integer).value;
if (_key is Wrapped) {
_key = (_key as Wrapped).unwrap();
}
}