diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-08-07 18:03:51 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-08-07 18:03:51 +0200 |
commit | 6dce5cca433dfecbc785b1c100a0af3751bd4ab3 (patch) | |
tree | 6fb3f41a40f641be5ddf6feac8d1d6a7f6a4162b | |
parent | d78dfc41aab5a927a8c59850d036a5b0a8b509a7 (diff) |
In master >>#new will call initialize but we don't want to call
>>#initialize before we have set some instance variables. Use the
>>#basicNew to avoid that.
-rw-r--r-- | src/BSCIPAConnection.st | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BSCIPAConnection.st b/src/BSCIPAConnection.st index 244dcff..67f5aa5 100644 --- a/src/BSCIPAConnection.st +++ b/src/BSCIPAConnection.st @@ -45,7 +45,7 @@ Object subclass: BSCConnection [ BSCConnection class >> createOn: aConfig msc: aMsc [ <category: 'creation'> - ^ self new + ^ self basicNew instVarNamed: #config put: aConfig; instVarNamed: #msc put: aMsc; initialize; |