[squeak-dev] The Inbox: Tools-fbs.306.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 9 22:44:51 UTC 2011

A new version of Tools was added to project The Inbox:

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

Name: Tools-fbs.306
Author: fbs
Time: 5 March 2011, 10:31:43.816 pm
UUID: 7371f8cf-b674-7b49-8ecf-f5977a7f37ca
Ancestors: Tools-fbs.305

Don't reference classListIndex.

=============== Diff against Tools-fbs.305 ===============

Item was changed:
  ----- Method: HierarchyBrowser>>selectedClassName (in category 'initialization') -----
  	"Answer the name of the class currently selected.   di
  	  bug fix for the case where name cannot be found -- return nil rather than halt"
  	| aName |
+ 	aName := super selectedClassName.
+ 	aName ifNil: [ ^ nil ].
- 	aName := self classList at: classListIndex ifAbsent: [^ nil].
  	^ (aName copyWithout: Character space) asSymbol!

More information about the Squeak-dev mailing list