smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

misc: Ease porting and use "self basicNew initialize" for init

self basicNew initialize will work on Pharo and various versions
of GST and will make sure to call initialize exactly once.
This commit is contained in:
Holger Hans Peter Freyther 2014-07-24 15:42:51 +02:00
parent 854d244d69
commit 18c4ddfd7b
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ Object subclass: SCCPConnectionState [
SCCPConnectionState class >> on: aHandler [
<category: 'creation'>
^ super new
^(self basicNew)
initialize;
conManager: aHandler;
yourself
@ -463,7 +463,7 @@ deadlocks should not occur.'>
SCCPHandler class >> new [
<category: 'creation'>
^ super new initialize; yourself
^self basicNew initialize
]
initialize [