Pass in the expected type to readObject anywhere the code would clearly convert the wrong type to null anyway

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5440 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-10-11 06:28:50 +00:00
parent a3cc67348e
commit 2b298aa3d5
18 changed files with 22 additions and 22 deletions
@@ -108,9 +108,9 @@ public class ClientObject extends DObject
override public function readObject (ins :ObjectInputStream) :void
{
super.readObject(ins);
username = (ins.readObject() as Name);
receivers = (ins.readObject() as DSet);
_permPolicy = (ins.readObject() as PermissionPolicy);
username = (ins.readObject(Name) as Name);
receivers = (ins.readObject(DSet) as DSet);
_permPolicy = (ins.readObject(PermissionPolicy) as PermissionPolicy);
}
protected var _permPolicy :PermissionPolicy;