[squeak-dev] Re: The Trunk: Help-Squeak-Project-mt.40.mcz

marcel.taeumel Marcel.Taeumel at hpi.de
Fri Aug 12 08:14:52 UTC 2016


Levente Uzonyi wrote
> Please do not use #sortBy:. It should have been deprecated in favor of 
> #sorted:.
> 
> Levente
> 
> On Thu, 11 Aug 2016, 

> commits at .squeak

>  wrote:
> 
>> Marcel Taeumel uploaded a new version of Help-Squeak-Project to project
>> The Trunk:
>> http://source.squeak.org/trunk/Help-Squeak-Project-mt.40.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Help-Squeak-Project-mt.40
>> Author: mt
>> Time: 11 August 2016, 5:26:19.085564 pm
>> UUID: 06ded287-6848-1844-9baf-ea302e76df60
>> Ancestors: Help-Squeak-Project-mt.39
>>
>> Sort release notes so that the latest comes first.
>>
>> =============== Diff against Help-Squeak-Project-mt.39 ===============
>>
>> Item was changed:
>>  ----- Method: SqueakReleaseNotes class>>pages (in category 'accessing')
>> -----
>>  pages
>>
>>  	| dir |
>>  	dir := FileDirectory default directoryNamed: 'doc'.
>>  	^ dir exists
>>  		ifFalse: [#()]
>> + 		ifTrue: [(dir entries collect: [:entry | entry name]) sortBy: [:a :b
>> | a >= b]]!
>> - 		ifTrue: [dir entries collect: [:entry | entry name]]!
>>
>>
>>

Hi Levente,

ah, because it creates a new instance and does not change data in-place. I
see. Will do.

Best,
Marcel



--
View this message in context: http://forum.world.st/The-Trunk-Help-Squeak-Project-mt-40-mcz-tp4910536p4910638.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list