[squeak-dev] The Trunk: System-nice.1033.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 6 21:33:05 UTC 2018


Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.1033.mcz

==================== Summary ====================

Name: System-nice.1033
Author: nice
Time: 6 June 2018, 11:32:39.671798 pm
UUID: 0168c19e-6a18-4ad6-a6d8-213f48663765
Ancestors: System-ul.1032

Use the well known (x ifNil: [...]) idiom rather than the longer (x ifNotNil: [:y | y] ifNil: [...])

=============== Diff against System-ul.1032 ===============

Item was changed:
  ----- Method: ChangeSet class>>assuredChangeSetNamed: (in category 'services') -----
  assuredChangeSetNamed: aName
  	"Answer a change set of the given name.  If one already exists, answer that, else create a new one and answer it."
  
+ 	^(self named: aName)
- 	| existing |
- 	^ (existing := self named: aName)
- 		ifNotNil:
- 			[existing]
  		ifNil:
  			[self basicNewChangeSet: aName]!



More information about the Squeak-dev mailing list