[squeak-dev] The Trunk: System-mt.1016.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Apr 8 10:04:59 UTC 2018


Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1016.mcz

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

Name: System-mt.1016
Author: mt
Time: 8 April 2018, 12:04:43.52839 pm
UUID: c790b5f0-2bf7-eb47-ab42-0e1762236535
Ancestors: System-mt.1015

Now that we have cleaned-up the state of SoundService, we can simplify #defaultOrNil again.

=============== Diff against System-mt.1015 ===============

Item was changed:
  ----- Method: SoundService class>>defaultOrNil (in category 'accessing') -----
  defaultOrNil
+ 	"This app registry returns instances instead of classes."
+ 	
+ 	^ super defaultOrNil ifNotNil: [:default | default new]!
- 
- 	^ super defaultOrNil ifNotNil: [:default |
- 		default isBehavior ifTrue: [default new] ifFalse: [default]]
- !



More information about the Squeak-dev mailing list