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
This commit is contained in:
Ray Greenwell
2006-09-28 19:11:17 +00:00
parent f544a76b62
commit bd8ee0fd4d
+1 -1
View File
@@ -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;