From f5ba1b1b9748d9b198835f092e038b1daf69c622 Mon Sep 17 00:00:00 2001
From: dev <dev@robertfoss.se>
Date: Thu, 9 Apr 2015 22:32:59 +0000
Subject: [PATCH] #1069: Replaced getInstance() with this

---
 core/java/src/net/i2p/util/SimpleTimer2.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/java/src/net/i2p/util/SimpleTimer2.java b/core/java/src/net/i2p/util/SimpleTimer2.java
index a01e297d72..d64426f701 100644
--- a/core/java/src/net/i2p/util/SimpleTimer2.java
+++ b/core/java/src/net/i2p/util/SimpleTimer2.java
@@ -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();
-- 
GitLab