Some changes required for the new compiler.
- Import bleeding may be fixed, as I had to import a bunch of things I should have had to earlier. - NOW they make duplicate variable definitions bad (but without block scoping... yay). - Another hoopjump. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4233 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -43,22 +43,19 @@ public class CompoundEvent extends DEvent
|
||||
public function CompoundEvent (
|
||||
target :DObject = null, omgr :DObjectManager = null)
|
||||
{
|
||||
if (target == null) {
|
||||
super();
|
||||
return;
|
||||
super((target == null) ? 0 : target.getOid());
|
||||
|
||||
if (target != null) {
|
||||
// sanity check
|
||||
if (omgr == null) {
|
||||
throw new ArgumentError(
|
||||
"Must receive non-null object manager reference");
|
||||
}
|
||||
|
||||
_omgr = omgr;
|
||||
_target = target;
|
||||
_events = new StreamableArrayList();
|
||||
}
|
||||
|
||||
super(target.getOid());
|
||||
|
||||
// sanity check
|
||||
if (omgr == null) {
|
||||
throw new ArgumentError(
|
||||
"Must receive non-null object manager reference");
|
||||
}
|
||||
|
||||
_omgr = omgr;
|
||||
_target = target;
|
||||
_events = new StreamableArrayList();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user