From bd8ee0fd4d38bc9ef525dca7c70e484e2d60cafc Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 28 Sep 2006 19:11:17 +0000 Subject: [PATCH] Bugfix: return undefined, not null, to indicate absence in the map. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4386 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/Hashtable.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/util/Hashtable.as b/src/as/com/threerings/util/Hashtable.as index 2d57c4537..a3a48d628 100644 --- a/src/as/com/threerings/util/Hashtable.as +++ b/src/as/com/threerings/util/Hashtable.as @@ -78,7 +78,7 @@ public class Hashtable var e :Entry = (_entries[index] as Entry); while (true) { if (e == null) { - return null; + return undefined; } if (e.hash == hash && e.key.equals(hkey)) { return e.value;