This was never used.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4547 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2007-02-10 01:27:52 +00:00
parent d3aae4a5fd
commit e404b83531
-9
View File
@@ -81,14 +81,5 @@ public class Util
return (args.length == 1 && (args[0] is Array)) ? (args[0] as Array)
: args;
}
public static function cast (obj :Object, clazz :Class) :Object
{
if (obj == null || obj is clazz) {
return obj;
} else {
throw new TypeError("value is not a " + clazz);
}
}
}
}