diff --git a/src/net/i2p/itoopie/gui/component/chart/InboundBandwidthTracker.java b/src/net/i2p/itoopie/gui/component/chart/InboundBandwidthTracker.java index 610db0c22..d5663a8f1 100644 --- a/src/net/i2p/itoopie/gui/component/chart/InboundBandwidthTracker.java +++ b/src/net/i2p/itoopie/gui/component/chart/InboundBandwidthTracker.java @@ -21,6 +21,7 @@ public class InboundBandwidthTracker extends Thread implements Tracker { * Start daemon that checks to current inbound bandwidth of the router. */ public InboundBandwidthTracker(int interval) { + super("IToopie-IBT"); updateInterval = interval; this.setDaemon(true); this.start(); @@ -38,7 +39,7 @@ public class InboundBandwidthTracker extends Thread implements Tracker { try { Thread.sleep(updateInterval); } catch (InterruptedException e) { - // nop + break; } } diff --git a/src/net/i2p/itoopie/gui/component/chart/ObjectRecorder.java b/src/net/i2p/itoopie/gui/component/chart/ObjectRecorder.java index a79211e01..ab126a1a5 100644 --- a/src/net/i2p/itoopie/gui/component/chart/ObjectRecorder.java +++ b/src/net/i2p/itoopie/gui/component/chart/ObjectRecorder.java @@ -155,6 +155,7 @@ public class ObjectRecorder extends Thread { * the interval of inspection in ms. */ public ObjectRecorder(final Tracker toinspect, final long interval) { + super("IToopie-OR"); this.m_interval = interval; this.m_toinspect = toinspect; this.setDaemon(true); @@ -356,7 +357,7 @@ public class ObjectRecorder extends Thread { try { Thread.sleep(this.m_interval); } catch (final InterruptedException e) { - // nop + break; } this.inspect(); } diff --git a/src/net/i2p/itoopie/gui/component/chart/OutboundBandwidthTracker.java b/src/net/i2p/itoopie/gui/component/chart/OutboundBandwidthTracker.java index 9a0e3dac4..c6acdc033 100644 --- a/src/net/i2p/itoopie/gui/component/chart/OutboundBandwidthTracker.java +++ b/src/net/i2p/itoopie/gui/component/chart/OutboundBandwidthTracker.java @@ -21,6 +21,7 @@ public class OutboundBandwidthTracker extends Thread implements Tracker { * Start daemon that checks to current inbound bandwidth of the router. */ public OutboundBandwidthTracker(int interval) { + super("IToopie-OBT"); updateInterval = interval; this.setDaemon(true); this.start(); @@ -38,7 +39,7 @@ public class OutboundBandwidthTracker extends Thread implements Tracker { try { Thread.sleep(updateInterval); } catch (InterruptedException e) { - // nop + break; } } diff --git a/src/net/i2p/itoopie/gui/component/chart/ParticipatingTunnelsTracker.java b/src/net/i2p/itoopie/gui/component/chart/ParticipatingTunnelsTracker.java index f1f41a16e..b093eb7ad 100644 --- a/src/net/i2p/itoopie/gui/component/chart/ParticipatingTunnelsTracker.java +++ b/src/net/i2p/itoopie/gui/component/chart/ParticipatingTunnelsTracker.java @@ -22,6 +22,7 @@ public class ParticipatingTunnelsTracker extends Thread implements Tracker { * Start daemon that checks to current inbound bandwidth of the router. */ public ParticipatingTunnelsTracker(int interval) { + super("IToopie-PTT"); updateInterval = interval; this.setDaemon(true); this.start(); @@ -38,7 +39,7 @@ public class ParticipatingTunnelsTracker extends Thread implements Tracker { try { Thread.sleep(updateInterval); } catch (InterruptedException e) { - // nop + break; } } diff --git a/src/net/i2p/itoopie/gui/component/chart/RateStatTracker.java b/src/net/i2p/itoopie/gui/component/chart/RateStatTracker.java index 1dda0d5ce..852cb0ee0 100644 --- a/src/net/i2p/itoopie/gui/component/chart/RateStatTracker.java +++ b/src/net/i2p/itoopie/gui/component/chart/RateStatTracker.java @@ -25,6 +25,7 @@ public class RateStatTracker extends Thread implements Tracker { * Start daemon that checks to current inbound bandwidth of the router. */ public RateStatTracker(String rateStat, long period, int interval) { + super("IToopie-RST"); this.rateStat = rateStat; this.period = period; updateInterval = interval; @@ -49,7 +50,7 @@ public class RateStatTracker extends Thread implements Tracker { try { Thread.sleep(updateInterval); } catch (InterruptedException e) { - // nop + break; } }