- Added TokenRing
- Specify override first on overridden methods. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4170 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -43,7 +43,7 @@ public class ObjectAddedEvent extends NamedEvent
|
||||
/**
|
||||
* Applies this event to the object.
|
||||
*/
|
||||
public override function applyToObject (target :DObject) :Boolean
|
||||
override public function applyToObject (target :DObject) :Boolean
|
||||
//throws ObjectAccessException
|
||||
{
|
||||
var list :OidList = target[_name];
|
||||
@@ -52,27 +52,27 @@ public class ObjectAddedEvent extends NamedEvent
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected override function notifyListener (listener :Object) :void
|
||||
override protected function notifyListener (listener :Object) :void
|
||||
{
|
||||
if (listener is OidListListener) {
|
||||
(listener as OidListListener).objectAdded(this);
|
||||
}
|
||||
}
|
||||
|
||||
public override function writeObject (out :ObjectOutputStream) :void
|
||||
override public function writeObject (out :ObjectOutputStream) :void
|
||||
{
|
||||
super.writeObject(out);
|
||||
out.writeInt(_oid);
|
||||
}
|
||||
|
||||
public override function readObject (ins :ObjectInputStream) :void
|
||||
override public function readObject (ins :ObjectInputStream) :void
|
||||
{
|
||||
super.readObject(ins);
|
||||
_oid = ins.readInt();
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
protected override function toStringBuf (buf :StringBuilder) :void
|
||||
override protected function toStringBuf (buf :StringBuilder) :void
|
||||
{
|
||||
buf.append("OBJADD:");
|
||||
super.toStringBuf(buf);
|
||||
|
||||
Reference in New Issue
Block a user