#1069: Replaced getInstance() with this

This commit is contained in:
dev
2015-04-09 22:32:59 +00:00
parent 4613e5f847
commit f5ba1b1b97

View File

@ -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();