1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 00:10:57 +01:00

Mark some ActionScript methods as final.

Summary: These methods shouldn't be overridden. Marking them as `final` will enforce this.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9411
This commit is contained in:
Joshua Spence 2014-06-07 11:34:19 -07:00 committed by epriestley
parent ddf5412cbb
commit 7f9a6626a0
4 changed files with 8 additions and 5 deletions

View file

@ -27,15 +27,18 @@ package {
this.send = new LocalConnection();
}
protected function externalInvoke(type:String, object:Object = null):void {
final protected function externalInvoke(
type:String,
object:Object = null):void {
ExternalInterface.call('JX.Aphlict.didReceiveEvent', type, object);
}
protected function error(error:Error):void {
final protected function error(error:Error):void {
this.externalInvoke('error', error.toString());
}
protected function log(message:String):void {
final protected function log(message:String):void {
this.externalInvoke('log', message);
}

View file

@ -5,7 +5,7 @@ package {
import flash.utils.Timer;
public class AphlictClient extends Aphlict {
final public class AphlictClient extends Aphlict {
/**
* The connection name for this client. This will be used for the

View file

@ -12,7 +12,7 @@ package {
import vegas.strings.JSON;
public class AphlictMaster extends Aphlict {
final public class AphlictMaster extends Aphlict {
/**
* The pool of connected clients.

Binary file not shown.