Author: ljn1981
Date: 2006-09-28 18:40:34 +0000 (Thu, 28 Sep 2006)
New Revision: 10554
Modified:
trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
Log:
Doh. This doesn't make sense at all.
Modified: trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-09-28 18:21:36 UTC (rev 10553)
+++ trunk/freenet/src/freenet/clients/http/StatisticsToadlet.java
2006-09-28 18:40:34 UTC (rev 10554)
@@ -145,11 +145,8 @@
if(nodeUptimeSeconds > (48*60*60)) { // 48
hours
overviewList.addChild("li",
"networkSizeEstimate48h:\u00a0" + networkSizeEstimate48h + "\u00a0nodes");
}
- if ((networkSizeEstimateSession > 0) && ((swaps
> 0) || (noSwaps > 0))) {
- overviewList.addChild("li",
"avrConnPeersPerNodeU:\u00a0" +
(double)((double)networkSizeEstimateSession/(double)(swaps+noSwaps)));
- }
if ((numberOfLocationsSeenInSwaps > 0) &&
((swaps > 0) || (noSwaps > 0))) {
- overviewList.addChild("li",
"avrConnPeersPerNodeT:\u00a0" +
(double)((double)numberOfLocationsSeenInSwaps/(double)(swaps+noSwaps)));
+ overviewList.addChild("li",
"avrConnPeersPerNode:\u00a0" +
(double)((double)numberOfLocationsSeenInSwaps/(double)(swaps+noSwaps)) +
"\u00a0nodes");
}
overviewList.addChild("li", "nodeUptime:\u00a0"
+ nodeUptimeString);
overviewList.addChild("li",
"missRoutingDistance:\u00a0" + fix4.format(missRoutingDistance));