Author: j16sdiz
Date: 2008-10-31 13:10:30 +0000 (Fri, 31 Oct 2008)
New Revision: 23241

Modified:
   trunk/freenet/src/freenet/node/RequestStarterGroup.java
   trunk/freenet/src/freenet/node/SyncSendWaitedTooLongException.java
Log:
fix warning: unnessorary cast, serial

Modified: trunk/freenet/src/freenet/node/RequestStarterGroup.java
===================================================================
--- trunk/freenet/src/freenet/node/RequestStarterGroup.java     2008-10-31 
01:22:10 UTC (rev 23240)
+++ trunk/freenet/src/freenet/node/RequestStarterGroup.java     2008-10-31 
13:10:30 UTC (rev 23241)
@@ -201,9 +201,9 @@
                MyRequestThrottle throttle = getThrottle(isSSK, isInsert);
                sb.append(TimeUtil.formatTime((long)throttle.getRTT(), 2, 
true));
                sb.append(" delay=");
-               sb.append(TimeUtil.formatTime((long)throttle.getDelay(), 2, 
true));
+               sb.append(TimeUtil.formatTime(throttle.getDelay(), 2, true));
                sb.append(" bw=");
-               sb.append((long)throttle.getRate());
+               sb.append(throttle.getRate());
                sb.append("B/sec");
                return sb.toString();
        }

Modified: trunk/freenet/src/freenet/node/SyncSendWaitedTooLongException.java
===================================================================
--- trunk/freenet/src/freenet/node/SyncSendWaitedTooLongException.java  
2008-10-31 01:22:10 UTC (rev 23240)
+++ trunk/freenet/src/freenet/node/SyncSendWaitedTooLongException.java  
2008-10-31 13:10:30 UTC (rev 23241)
@@ -6,6 +6,7 @@
  * from bandwidth limiting and don't get it within a timeout period.
  * @author toad
  */
+ at SuppressWarnings("serial")
 public class SyncSendWaitedTooLongException extends Exception {

 }


Reply via email to