mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +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:
parent
ddf5412cbb
commit
7f9a6626a0
4 changed files with 8 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
Loading…
Reference in a new issue