The Trunk: 51Deprecated-topa.1.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: 51Deprecated-topa.1.mcz

commits-2
Tobias Pape uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-topa.1.mcz

==================== Summary ====================

Name: 51Deprecated-topa.1
Author: topa
Time: 8 October 2015, 8:18:03.841 pm
UUID: 91f96200-85cc-4a4e-bd2c-86fba655eb6d
Ancestors: 50Deprecated-eem.1

Start 5.1 deprecation process

=============== Diff against 50Deprecated-eem.1 ===============

Item was changed:
+ ----- Method: Dictionary>>fasterKeys (in category '*51deprecated-accessing') -----
- ----- Method: Dictionary>>fasterKeys (in category '*50Deprecated-accessing') -----
  fasterKeys
  "Contrary to old version of #keys, this method returned an Array rather than a Set.
  This was faster because no lookup: was performed.
  But now, #keys also return an Array, so don't use #fasterKeys anymore."
 
  self deprecated: 'use #keys'.
 
  ^self keys.
  !

Item was changed:
+ ----- Method: Dictionary>>keyForIdentity: (in category '*51deprecated-accessing') -----
- ----- Method: Dictionary>>keyForIdentity: (in category '*50Deprecated-accessing') -----
  keyForIdentity: anObject
  "If anObject is one of the values of the receive, return its key, else return nil.  Contrast #keyAtValue: in which there is only an equality check, here there is an identity check"
 
  self deprecated: 'Use #keyAtIdentityValue:ifAbsent:'.
  ^self keyAtIdentityValue: anObject ifAbsent: nil!