[Pkg] The Trunk: Installer-Core-nice.93.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Jan 18 14:28:00 UTC 2010


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



More information about the Packages mailing list