[FIX] Environments bug

Henrik Gedenryd Henrik.Gedenryd at lucs.lu.se
Tue Aug 21 09:02:56 UTC 2001


"Change Set:        environmentsFix-hg
Date:            21 August 2001
Author:            Henrik Gedenryd

A small consolidation in Dictionary that prevents exceptions from crashing
an image that has been converted to use Environments."

This simplifies the code in Dictionary to use existing methods instead of
repeating code, so it should be a generally useful change.

Henrik

-------------- next part --------------
'From Squeak3.1alpha of 7 March 2001 [latest update: #4173] on 21 August 2001 at 11:00:17 am'!
"Change Set:		environmentsFix-hg
Date:			21 August 2001
Author:			Henrik Gedenryd

A small consolidation in Dictionary that prevents exceptions from crashing an image that has been converted to use Environments."!


!Dictionary methodsFor: 'testing' stamp: 'squeak 8/16/2001 13:39'!
includesKey: key 
	"Answer whether the receiver has a key equal to the argument, key."
	
	^(self at: key ifAbsent: [nil]) notNil! !



More information about the Squeak-dev mailing list