The Trunk: System-ul.926.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-ul.926.mcz

commits-2
Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.926.mcz

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

Name: System-ul.926
Author: ul
Time: 27 February 2017, 2:25:48.914916 am
UUID: e86b75db-f12d-4172-b640-4574322ea818
Ancestors: System-dtl.925

- omit ifAbsent from #index* sends when the default value, 0 would used

=============== Diff against System-dtl.925 ===============

Item was changed:
  ----- Method: SmalltalkImage>>renamedClass:from:to: (in category 'classes and traits') -----
  renamedClass: aClass from: oldName to: newName
  "Inform Smalltalk that aClass has been renamed"
  (Array with: StartUpList with: ShutDownList) do:[:list | | index |  
+ index := list indexOf: oldName.
- index := list indexOf: oldName ifAbsent: [0].
  index > 0 ifTrue: [list at: index put: newName].
  ].
  !