The Trunk: System-mt.1016.mcz

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

The Trunk: System-mt.1016.mcz

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