aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-24 15:45:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-07-24 15:45:42 +0200
commitaa8d9b64c62440f11f71226da1dd507fc0af4cc1 (patch)
tree7f75bb688b968a5792584a4a5d6ca171102b5f2d
parent216c6fdcb65446358b4efd74f6f50b024ed9812b (diff)
misc: Use "self basicNew initialize" to be portable
-rw-r--r--callagent/MGCPTrunk.st4
-rw-r--r--callagent/Tests.st4
2 files changed, 2 insertions, 6 deletions
diff --git a/callagent/MGCPTrunk.st b/callagent/MGCPTrunk.st
index 04764d2..8f39253 100644
--- a/callagent/MGCPTrunk.st
+++ b/callagent/MGCPTrunk.st
@@ -23,9 +23,7 @@ Object subclass: MGCPTrunkBase [
MGCPTrunkBase class >> new [
<category: 'creation'>
- ^ super new
- initialize;
- yourself
+ ^self basicNew initialize
]
initialize [
diff --git a/callagent/Tests.st b/callagent/Tests.st
index 945e9d3..975ce14 100644
--- a/callagent/Tests.st
+++ b/callagent/Tests.st
@@ -150,9 +150,7 @@ MGCPCallAgent subclass: MGCPMockNoTransmitAgent [
<category: 'OsmoMGCP-Callagent-Tests'>
MGCPMockNoTransmitAgent class >> new [
- ^ super new
- initialize;
- yourself
+ ^self basicNew initialize
]
initialize [