mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Util: Add SimpleTimer2.TimedEvent.toString()
to clean up timer crash messages
This commit is contained in:
@@ -531,6 +531,15 @@ public class SimpleTimer2 {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* So the critical "please report" message above isn't so ugly
|
||||
* @since 0.9.57
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return getClass().getSimpleName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Simple interface for events to be queued up and notified on expiration
|
||||
* the time requested has been reached (this call should NOT block,
|
||||
|
||||
Reference in New Issue
Block a user