From 5e094b43b3d4ccc8732b85ee663f017a034ffd36 Mon Sep 17 00:00:00 2001
From: jrandom <jrandom>
Date: Mon, 21 Nov 2005 14:45:04 +0000
Subject: [PATCH] 2005-11-21  jrandom     * IE doesn't strip SPAN from <button>
 form fields, so add in a workaround       within I2PTunnel.     * Increase
 the maximum SSU retransmission timeout to accomodate slower or       more
 congested links (though SSU's RTO calculation will usually use a       much
 lower timeout)     * Moved the streaming lib timed events off the main timer
 queues and onto       a streaming lib specific set of timer queues. 
 Streaming lib timed       events are more likely to have lock contention on
 the I2CP socket while       other timed events in the router are (largely)
 independent.     * Fixed a case sensitive lookup bug (thanks tino!)     *
 Syndie cleanup - new edit form on the preview page, and fixed some blog      
 links (thanks tino!)

---
 core/java/src/net/i2p/util/SimpleTimer.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/core/java/src/net/i2p/util/SimpleTimer.java b/core/java/src/net/i2p/util/SimpleTimer.java
index 0c3c809c2e..bd840cf901 100644
--- a/core/java/src/net/i2p/util/SimpleTimer.java
+++ b/core/java/src/net/i2p/util/SimpleTimer.java
@@ -26,19 +26,20 @@ public class SimpleTimer {
     private Map _eventTimes;
     private List _readyEvents;
     
-    private SimpleTimer() {
+    protected SimpleTimer() { this("SimpleTimer"); }
+    protected SimpleTimer(String name) {
         _context = I2PAppContext.getGlobalContext();
         _log = _context.logManager().getLog(SimpleTimer.class);
         _events = new TreeMap();
         _eventTimes = new HashMap(1024);
         _readyEvents = new ArrayList(4);
         I2PThread runner = new I2PThread(new SimpleTimerRunner());
-        runner.setName("SimpleTimer");
+        runner.setName(name);
         runner.setDaemon(true);
         runner.start();
         for (int i = 0; i < 3; i++) {
             I2PThread executor = new I2PThread(new Executor());
-            executor.setName("SimpleTimerExecutor " + i);
+            executor.setName(name + "Executor " + i);
             executor.setDaemon(true);
             executor.start();
         }
-- 
GitLab