Author: toad
Date: 2007-08-22 23:58:55 +0000 (Wed, 22 Aug 2007)
New Revision: 14855
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
format them properly
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2007-08-22 23:57:47 UTC (rev 14854)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2007-08-22 23:58:55 UTC (rev 14855)
@@ -502,9 +502,8 @@
if (swapsRejectedRecognizedID > 0) {
locationSwapList.addChild("li",
"swapsRejectedRecognizedID:\u00a0" + swapsRejectedRecognizedID);
}
- locationSwapList.addChild("li", "averageSwapTime:\u00a0" +
averageSwapTime);
- locationSwapList.addChild("li", "sendSwapInterval:\u00a0" +
sendSwapInterval);
-
+ locationSwapList.addChild("li", "averageSwapTime:\u00a0" +
TimeUtil.formatTime(averageSwapTime, 2, true));
+ locationSwapList.addChild("li", "sendSwapInterval:\u00a0" +
TimeUtil.formatTime(sendSwapInterval, 2, true));
}
private void drawPeerStatsBox(HTMLNode peerStatsInfobox, boolean
advancedModeEnabled, int numberOfConnected,