The Trunk: Installer-Core-nice.93.mcz

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

The Trunk: Installer-Core-nice.93.mcz

commits-2
Nicolas Cellier uploaded a new version of Installer-Core to project The Trunk:
http://source.squeak.org/trunk/Installer-Core-nice.93.mcz

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

Name: Installer-Core-nice.93
Author: nice
Time: 18 January 2010, 3:27:55.659 pm
UUID: 099486b1-f102-c748-bba5-cb794f54a1fe
Ancestors: Installer-Core-nice.92

remove an outer temp assignment: #withCurrentChangeSetNamed:do: does return the change set, so it is not necessary to assign temp inside the block

=============== Diff against Installer-Core-nice.92 ===============

Item was changed:
  ----- Method: Installer>>installSAR:from: (in category 'mantis') -----
  installSAR: aFileName from: stream
 
+ | newCS |
+ newCS := self classSARInstaller withCurrentChangeSetNamed: aFileName
+ do: [:cs | self classSARInstaller new fileInFrom: stream].
-  | newCS |
-
- self classSARInstaller withCurrentChangeSetNamed: aFileName
- do: [:cs | newCS := cs. self classSARInstaller new fileInFrom: stream].
  newCS isEmpty ifTrue: [ self classChangeSet removeChangeSet: newCS ]!