Author: toad
Date: 2008-02-12 13:27:38 +0000 (Tue, 12 Feb 2008)
New Revision: 17812

Modified:
   trunk/freenet/src/freenet/node/simulator/RealNodeTest.java
Log:
Cast to ints

Modified: trunk/freenet/src/freenet/node/simulator/RealNodeTest.java
===================================================================
--- trunk/freenet/src/freenet/node/simulator/RealNodeTest.java  2008-02-12 
13:26:59 UTC (rev 17811)
+++ trunk/freenet/src/freenet/node/simulator/RealNodeTest.java  2008-02-12 
13:27:38 UTC (rev 17812)
@@ -138,8 +138,8 @@
                                System.err.println();
                                return;
                        } else {
-                               System.err.println("Waiting for nodes to be 
fully connected: "+countFullyConnected+" / "+nodes.length+" 
("+totalConnections+" / "+totalPeers+" connections total) - backed off 
"+totalBackedOff+" ping min/avg/max 
"+minPingTime+"/"+(totalPingTime/nodes.length)+"/"+maxPingTime);
-                               Logger.normal(RealNodeTest.class, "Waiting for 
nodes to be fully connected: "+countFullyConnected+" / "+nodes.length+" 
("+totalConnections+" / "+totalPeers+" connections total) - backed off 
"+totalBackedOff+" ping min/avg/max 
"+minPingTime+"/"+(totalPingTime/nodes.length)+"/"+maxPingTime);
+                               System.err.println("Waiting for nodes to be 
fully connected: "+countFullyConnected+" / "+nodes.length+" 
("+totalConnections+" / "+totalPeers+" connections total) - backed off 
"+totalBackedOff+" ping min/avg/max 
"+(int)minPingTime+"/"+(int)(totalPingTime/nodes.length)+"/"+(int)maxPingTime);
+                               Logger.normal(RealNodeTest.class, "Waiting for 
nodes to be fully connected: "+countFullyConnected+" / "+nodes.length+" 
("+totalConnections+" / "+totalPeers+" connections total) - backed off 
"+totalBackedOff+" ping min/avg/max 
"+(int)minPingTime+"/"+(int)(totalPingTime/nodes.length)+"/"+(int)maxPingTime);
                                Thread.sleep(1000);
                        }
                }


Reply via email to