From 3eb6ee2a4fe721749f65e02a6b2a58b7abb319ba Mon Sep 17 00:00:00 2001 From: Tom Conkling Date: Thu, 2 Jul 2009 19:14:55 +0000 Subject: [PATCH] Add comment for potentially non-obvious behavior git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5844 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/ClassUtil.as | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/as/com/threerings/util/ClassUtil.as b/src/as/com/threerings/util/ClassUtil.as index 684c99d1c..d43e5df8d 100644 --- a/src/as/com/threerings/util/ClassUtil.as +++ b/src/as/com/threerings/util/ClassUtil.as @@ -31,6 +31,8 @@ public class ClassUtil { /** * Get the full class name, e.g. "com.threerings.util.ClassUtil". + * Calling getClassName with a Class object will return the same value as calling it with an + * instance of that class. That is, getClassName(Foo) == getClassName(new Foo()). */ public static function getClassName (obj :Object) :String {