[squeak-dev] The Trunk: Collections-eem.758.mcz
Tobias Pape
Das.Linux at gmx.de
Fri Jun 23 20:20:21 UTC 2017
There it is :D
But any reason why not ifNil:ifNotNil: in ifAbsentAdd: ?
Best regards
-Tobias
> On 23.06.2017, at 21:06, commits at source.squeak.org wrote:
>
> Eliot Miranda uploaded a new version of Collections to project The Trunk:
> http://source.squeak.org/trunk/Collections-eem.758.mcz
>
> ==================== Summary ====================
>
> Name: Collections-eem.758
> Author: eem
> Time: 23 June 2017, 12:06:10.238234 pm
> UUID: 19a4f20b-1ac9-4bed-9262-1cab35e89afd
> Ancestors: Collections-eem.757
>
> Deprecate addNewElement:
>
> =============== Diff against Collections-eem.757 ===============
>
> Item was removed:
> - ----- Method: Set>>addNewElement: (in category 'adding') -----
> - addNewElement: anObject
> - "Ensure anObject is part of the receiver. Answer whether its membership was newly acquired."
> - | index |
> - index := self scanFor: anObject.
> - ^ (array at: index)
> - ifNil:
> - [ self
> - atNewIndex: index
> - put: anObject asSetElement.
> - true ]
> - ifNotNil: [ false ]!
>
>
More information about the Squeak-dev
mailing list
|