Occam's razor: presumably getDefinitionByName() returns the same class
for the same name each time it's called. :) git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4975 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -68,7 +68,7 @@ public class ClassUtil
|
||||
|
||||
public static function isSameClass (obj1 :Object, obj2 :Object) :Boolean
|
||||
{
|
||||
return (getClass(obj1) == getClass(obj2));
|
||||
return (getQualifiedClassName(obj1) == getQualifiedClassName(obj2));
|
||||
}
|
||||
|
||||
public static function getClass (obj :Object) :Class
|
||||
|
||||
Reference in New Issue
Block a user