[FIX] FixAssureExistanceOfPath

Richard A. O'Keefe ok at atlas.otago.ac.nz
Wed Jan 23 01:17:48 UTC 2002


"Chris Muller" <cmuller at kc.rr.com> wrote:
	A one-method fix to FileDirectory>>assureExistanceOfPath:,

Speaking of fixes to that, how about someone fixing the spelling mistake?
There is no "a" in "existence".
           v                          v
assureExistance		=> assureExistence
assureExistanceOfPath:	=> assureExistenceOfPath:
           ^                          ^

The methods should be renamed.  I suppose methods like
    assureExistance
	"Backwards compatibility for spelling mistake"
	^self assureExistence
should be put in to avoid breaking anyone's code, but we really
shouldn't be disadvantaging people who look up correctly spelled
words in the method finder.




More information about the Squeak-dev mailing list