Added toString().

This commit is contained in:
Simone Bordet 2012-10-26 11:41:46 +02:00
parent 31b77d9ade
commit 61ba84bda5
1 changed files with 9 additions and 0 deletions

View File

@ -87,5 +87,14 @@ public class TimerScheduler extends AbstractLifeCycle implements Scheduler
{ {
_task.run(); _task.run();
} }
@Override
public String toString()
{
return String.format("%s.%s@%x",
TimerScheduler.class.getSimpleName(),
SimpleTask.class.getSimpleName(),
hashCode());
}
} }
} }