forked from I2P_Developers/i2p.i2p
#1069: Replaced getInstance() with this
This commit is contained in:
@ -135,7 +135,7 @@ public class SimpleTimer2 {
|
||||
if (event == null)
|
||||
throw new IllegalArgumentException("addEvent null");
|
||||
|
||||
new TimedEvent(SimpleTimer2.getInstance(), timeoutMs) {
|
||||
new TimedEvent(this, timeoutMs) {
|
||||
@Override
|
||||
public void timeReached() {
|
||||
event.timeReached();
|
||||
|
Reference in New Issue
Block a user