The Inbox: Collections-ct.829.mcz

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

The Inbox: Collections-ct.829.mcz

commits-2
A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.829.mcz

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

Name: Collections-ct.829
Author: ct
Time: 30 July 2019, 4:52:48.475556 pm
UUID: 733add0e-3e67-0d49-8bb5-7658d841fc55
Ancestors: Collections-ct.828, Collections-CW.640

Refactor Matrix instance creation:

Matrix new returns a valid (empty) matrix instead of an uninitialized object

=============== Diff against Collections-ct.828 ===============

Item was added:
+ ----- Method: Matrix class>>new (in category 'instance creation') -----
+ new
+ ^self rows: 0 columns: 0!

Item was changed:
  ----- Method: Matrix class>>rows:columns:contents: (in category 'private') -----
  rows: rows columns: columns contents: contents
+ ^super new rows: rows columns: columns contents: contents!
- ^self new rows: rows columns: columns contents: contents!