[squeak-dev] The Trunk: 60Deprecated-ul.96.mcz
commits at source.squeak.org
commits at source.squeak.org
Sun Sep 5 15:04:49 UTC 2021
Levente Uzonyi uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-ul.96.mcz
==================== Summary ====================
Name: 60Deprecated-ul.96
Author: ul
Time: 3 September 2021, 4:16:18.381279 pm
UUID: 73ae59f8-2544-4a04-b04f-ef3ffb085f8c
Ancestors: 60Deprecated-nice.95
- deprecate ifNotNilDo:, #ifNil:ifNotNilDo: and #ifNotNilDo:ifNil:
=============== Diff against 60Deprecated-nice.95 ===============
Item was added:
+ ----- Method: Object>>ifNil:ifNotNilDo: (in category '*60Deprecated-accessing') -----
+ ifNil: nilBlock ifNotNilDo: aBlock
+
+ self flag: #deprecated. "#ifNil:ifNotNil: does the job"
+ ^self ifNil: nilBlock ifNotNil: aBlock!
Item was added:
+ ----- Method: Object>>ifNotNilDo: (in category '*60Deprecated-accessing') -----
+ ifNotNilDo: aBlock
+
+ self flag: #deprecated. "#ifNotNil: does the job"
+ ^self ifNotNil: aBlock
+ !
Item was added:
+ ----- Method: Object>>ifNotNilDo:ifNil: (in category '*60Deprecated-accessing') -----
+ ifNotNilDo: aBlock ifNil: nilBlock
+
+ self flag: #deprecated. "#ifNotNil:ifNil: does the job"
+ ^self ifNotNil: aBlock ifNil: nilBlock
+ !
More information about the Squeak-dev
mailing list
|