[Pkg] The Trunk: Kernel-nice.882.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Oct 30 23:32:31 UTC 2014

Nicolas Cellier uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-nice.882
Author: nice
Time: 31 October 2014, 12:31:24.415 am
UUID: 89313c71-97fc-41a3-b2b5-0fccac4b81c9
Ancestors: Kernel-nice.881

No need to query which selector isDoIt, because DoIt methods are not installed anymore in the methodDictionary (for a few years yet).

=============== Diff against Kernel-nice.881 ===============

Item was changed:
  ----- Method: Behavior>>unreferencedInstanceVariables (in category 'user interface') -----
  	"Return a list of the instance variables defined in the receiver which are not referenced in the receiver or any of its subclasses."
+ 	^ self instVarNames select:
- 	^ self instVarNames reject:
  		[:ivn |
+ 		self withAllSubclasses allSatisfy:
+ 			[:class |  (class whichSelectorsAccess: ivn) isEmpty]]!
- 		self withAllSubclasses anySatisfy:
- 			[:class |  (class whichSelectorsAccess: ivn) anySatisfy: 
- 					[:sel | sel isDoIt not]]]!

More information about the Packages mailing list