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

Nicolas Cellier uploaded a new version of System to project The Trunk:

==================== 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]
  [self basicNewChangeSet: aName]!