misc: Use "self basicNew initialize" to be portable
This commit is contained in:
parent
216c6fdcb6
commit
aa8d9b64c6
|
@ -23,9 +23,7 @@ Object subclass: MGCPTrunkBase [
|
|||
|
||||
MGCPTrunkBase class >> new [
|
||||
<category: 'creation'>
|
||||
^ super new
|
||||
initialize;
|
||||
yourself
|
||||
^self basicNew initialize
|
||||
]
|
||||
|
||||
initialize [
|
||||
|
|
|
@ -150,9 +150,7 @@ MGCPCallAgent subclass: MGCPMockNoTransmitAgent [
|
|||
<category: 'OsmoMGCP-Callagent-Tests'>
|
||||
|
||||
MGCPMockNoTransmitAgent class >> new [
|
||||
^ super new
|
||||
initialize;
|
||||
yourself
|
||||
^self basicNew initialize
|
||||
]
|
||||
|
||||
initialize [
|
||||
|
|
Reference in New Issue