[squeak-dev] The Inbox: Collections-ct.829.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 30 14:52:51 UTC 2019


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!



More information about the Squeak-dev mailing list