The Trunk: Traits-nice.242.mcz

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

The Trunk: Traits-nice.242.mcz

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

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

Name: Traits-nice.242
Author: nice
Time: 31 October 2009, 1:49:11 am
UUID: 0a436ff9-05a0-46a9-915e-9e4e974c5544
Ancestors: Traits-nice.241

minor refactoring rename #becomeEmpty -> #removeAll (also proposed to pharo)
Rationale: no reason to have multiple selectors for the same feature
Moreover, becomeEmpty had only 1 implementor and 1 sender

=============== Diff against Traits-nice.241 ===============

Item was changed:
  ----- Method: SendInfo>>emptyStack (in category 'stack manipulation') -----
  emptyStack
+ stack removeAll!
- stack becomeEmpty!

Item was added:
+ ----- Method: QuickStack>>removeAll (in category 'accessing') -----
+ removeAll
+ top := 0!

Item was removed:
- ----- Method: QuickStack>>becomeEmpty (in category 'accessing') -----
- becomeEmpty
- top := 0!