[squeak-dev] The Trunk: Collections-cmm.675.mcz

Chris Muller asqueaker at gmail.com
Mon Jan 4 16:25:56 UTC 2016


I purposefully left 674 out of the ancestry, because I want useless
commits in our ancestry.  I'll remove it from the repository.


On Mon, Jan 4, 2016 at 8:11 AM, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> Collections has two head versions now: cmm-674 and cmm-675. The should be
> merged.
>
> Levente
>
>
> On Sun, 3 Jan 2016, commits at source.squeak.org wrote:
>
>> Chris Muller uploaded a new version of Collections to project The Trunk:
>> http://source.squeak.org/trunk/Collections-cmm.675.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Collections-cmm.675
>> Author: cmm
>> Time: 3 January 2016, 3:33:44.302 pm
>> UUID: d019e6cc-abbb-4077-9e3d-2f471f6fb07a
>> Ancestors: Collections-eem.672
>>
>> grownBy: should answer the same class of object asked to be grown.
>>
>> =============== Diff against Collections-eem.672 ===============
>>
>> Item was changed:
>>  ----- Method: SequenceableCollection>>grownBy: (in category 'copying')
>> -----
>> + grownBy: length
>> - grownBy: length
>>         "Answer a copy of receiver collection with size grown by length"
>> +       ^ (self class ofSize: self size + length)
>> +               replaceFrom: 1 to: self size with: self startingAt: 1 ;
>> +               yourself!
>> -
>> -       | newCollection |
>> -       newCollection := self species ofSize: self size + length.
>> -       newCollection replaceFrom: 1 to: self size with: self startingAt:
>> 1.
>> -       ^ newCollection!
>>
>>
>>
>


More information about the Squeak-dev mailing list