Eliot Miranda uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-eem.6.mcz==================== Summary ====================
Name: 60Deprecated-eem.6
Author: eem
Time: 23 June 2017, 12:05:21.487244 pm
UUID: 7f3c2764-8ca4-4b8d-b8e6-e624e847810e
Ancestors: 60Deprecated-pre.5
Deprecate addNewElement:
=============== Diff against 60Deprecated-pre.5 ===============
Item was added:
+ ----- Method: Set>>addNewElement: (in category '*60Deprecated-adding') -----
+ addNewElement: anObject
+ "Ensure anObject is part of the receiver. Answer whether its membership was newly acquired."
+ | index |
+ self deprecated: 'Use ifAbsentAdd: instead.'.
+ index := self scanFor: anObject.
+ ^ (array at: index)
+ ifNil:
+ [ self
+ atNewIndex: index
+ put: anObject asSetElement.
+ true ]
+ ifNotNil: [ false ]!