[squeak-dev] The Trunk: SMBase-nice.89.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Oct 19 21:22:42 UTC 2009


Nicolas Cellier uploaded a new version of SMBase to project The Trunk:
http://source.squeak.org/trunk/SMBase-nice.89.mcz

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

Name: SMBase-nice.89
Author: nice
Time: 19 October 2009, 9:22:34 am
UUID: de8fd907-a263-a045-8596-d3cbac106c96
Ancestors: SMBase-nice.88

remove uncessary sends of #values
because (aDictionary values do:) is same as (aDictionary do:)
except when aDictionary is modified in the do loop.

=============== Diff against SMBase-nice.88 ===============

Item was changed:
  ----- Method: SMSqueakMap>>accountWithName: (in category 'queries') -----
  accountWithName: aName
  	"Look up an account by name. Return nil if missing."
  
+ 	^self accounts detect: [:a | a name = aName ] ifNone: [nil]!
- 	^self accounts values detect: [:a | a name = aName ] ifNone: [nil]!




More information about the Squeak-dev mailing list