notes and tweaks

This commit is contained in:
zzz
2011-03-18 00:47:14 +00:00
parent 12f3634f96
commit 79358f4271
3 changed files with 4 additions and 1 deletions

View File

@ -123,10 +123,13 @@ public class GraphHelper extends FormHandler {
+ "\" alt=\"" + title
+ "\" title=\"" + title + "\"></a>\n");
}
// FIXME <meta> not allowed inside <div>, move to the .jsp
if (_refreshDelaySeconds > 0)
// shorten the refresh by 3 seconds so we beat the iframe
_out.write("<meta http-equiv=\"refresh\" content=\"" + (_refreshDelaySeconds - 3) + "\">\n");
// FIXME jrobin doesn't support setting the timezone, will have to mod TimeAxis.java
_out.write("<p<i>" + _("All times are UTC.") + "</i></p>\n");
} catch (IOException ioe) {
ioe.printStackTrace();
}

View File

@ -384,6 +384,7 @@ public class StatSummarizer implements Runnable {
if (_thread != null)
_thread.interrupt();
for (SummaryListener lsnr : _listeners) {
// FIXME could cause exceptions if rendering?
lsnr.stopListening();
}
_listeners.clear();

View File

@ -2,7 +2,6 @@ package net.i2p.router.web;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.OutputStream;