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

misc: Use "self basicNew initialize" to be portable

This commit is contained in:
Holger Hans Peter Freyther 2014-07-24 15:45:42 +02:00
parent 216c6fdcb6
commit aa8d9b64c6
2 changed files with 2 additions and 6 deletions

View File

@ -23,9 +23,7 @@ Object subclass: MGCPTrunkBase [
MGCPTrunkBase class >> new [
<category: 'creation'>
^ super new
initialize;
yourself
^self basicNew initialize
]
initialize [

View File

@ -150,9 +150,7 @@ MGCPCallAgent subclass: MGCPMockNoTransmitAgent [
<category: 'OsmoMGCP-Callagent-Tests'>
MGCPMockNoTransmitAgent class >> new [
^ super new
initialize;
yourself
^self basicNew initialize
]
initialize [