Use of Static Class methods

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

mmilen
Posts: 242
Joined: 09 Nov 2010, 00:48
Contact:

Use of Static Class methods

Postby mmilen » 20 Aug 2020, 03:37

Hi Guys / Gals,

I use a number of static helper methods like the one below. Is there any performance or thread safety issues with that approach.

Code: Select all

public static boolean isMasterTeacher (User p) {
      return p.containsProperty(SFSVAR.SFSGAME_PROPERTY_MASTER_TEACHER);
 }



Thank you for the great service.
User avatar
Lapo
Site Admin
Posts: 21639
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Use of Static Class methods

Postby Lapo » 20 Aug 2020, 08:16

Hi,
no, I don't see any problem with that.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 12 guests