Author: j16sdiz
Date: 2008-10-31 13:21:49 +0000 (Fri, 31 Oct 2008)
New Revision: 23244

Modified:
   trunk/freenet/src/freenet/support/math/SimpleRunningAverage.java
Log:
fix warning: type casting

Modified: trunk/freenet/src/freenet/support/math/SimpleRunningAverage.java
===================================================================
--- trunk/freenet/src/freenet/support/math/SimpleRunningAverage.java    
2008-10-31 13:21:25 UTC (rev 23243)
+++ trunk/freenet/src/freenet/support/math/SimpleRunningAverage.java    
2008-10-31 13:21:49 UTC (rev 23244)
@@ -4,6 +4,7 @@
 package freenet.support.math;

 import java.io.DataOutputStream;
+
 import freenet.support.Logger;

 /**
@@ -46,7 +47,7 @@
         this.curLen = a.curLen;
         this.initValue = a.initValue;
         this.nextSlotPtr = a.nextSlotPtr;
-        this.refs = (double[]) a.refs.clone();
+        this.refs = a.refs.clone();
         this.total = a.total;
         this.totalReports = a.totalReports;
     }


Reply via email to