forked from I2P_Developers/i2p.i2p
Big findbugs cleanup
This commit is contained in:
@@ -76,7 +76,7 @@ public class Frequency {
|
||||
long duration = now() - _start;
|
||||
if ((duration <= 0) || (_count <= 0)) return 0;
|
||||
|
||||
return duration / _count;
|
||||
return duration / (double) _count;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,4 +167,4 @@ public class Frequency {
|
||||
private final static long now() {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user