The Trunk: SMBase-nice.89.mcz

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

The Trunk: SMBase-nice.89.mcz

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