The Trunk: System-pre.1090.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-pre.1090.mcz

commits-2
Patrick Rein uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-pre.1090.mcz

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

Name: System-pre.1090
Author: pre
Time: 3 September 2019, 5:06:59.772361 pm
UUID: 77f000d9-683d-d146-89d0-ac2dc4882362
Ancestors: System-mt.1089

Minor refactoring of a ChangeSet enumerating method in the context of a larger refactoring deprecating some organizing methods on ChangeSorter

=============== Diff against System-mt.1089 ===============

Item was changed:
  ----- Method: ChangeSet class>>highestNumberedChangeSet (in category 'enumerating') -----
  highestNumberedChangeSet
+
- "ChangeSorter highestNumberedChangeSet"
  | aList |
+ aList := self allChangeSetNames
+ select: [:aString | aString startsWithDigit]
+ thenCollect: [:aString | aString initialIntegerOrNil].
+ ^ aList
+ ifNotEmpty: [aList max]
+ ifEmpty: [nil]
- aList := (self allChangeSetNames select: [:aString | aString startsWithDigit] thenCollect:
- [:aString | aString initialIntegerOrNil]).
- ^ (aList size > 0)
- ifTrue:
- [aList max]
- ifFalse:
- [nil]
  !