The Trunk: System-nice.1033.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-nice.1033.mcz

commits-2
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]!