Removed unneeded and improper Runnable check.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3696 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -304,9 +304,7 @@ public class PresentsDObjectMgr
|
|||||||
String cname;
|
String cname;
|
||||||
// do some jiggery pokery to get more fine grained profiling
|
// do some jiggery pokery to get more fine grained profiling
|
||||||
// details on certain "popular" unit types
|
// details on certain "popular" unit types
|
||||||
if (unit instanceof Runnable) {
|
if (unit instanceof Interval.RunQueueRunnable) {
|
||||||
cname = StringUtil.shortClassName(unit);
|
|
||||||
} else if (unit instanceof Interval.RunQueueRunnable) {
|
|
||||||
Interval ival = ((Interval.RunQueueRunnable)unit).getInterval();
|
Interval ival = ((Interval.RunQueueRunnable)unit).getInterval();
|
||||||
cname = StringUtil.shortClassName(ival);
|
cname = StringUtil.shortClassName(ival);
|
||||||
} else if (unit instanceof InvocationRequestEvent) {
|
} else if (unit instanceof InvocationRequestEvent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user