[squeak-dev] The Trunk: Traits-nice.242.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Oct 31 00:49:30 UTC 2009


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!




More information about the Squeak-dev mailing list