mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
Simplify oldstats.jsp if no events in a stat
This commit is contained in:
1 parent
3a203c3018
commit
4c2c5ca232
2 files changed
+59
-41
No files matched your search
@@ -72,7 +72,7 @@ public class RateStat {
|
||||
if ( (_rates == null) || (_rates.length <= 0) ) return 0;
|
||||
return _rates[0].getLifetimeAverageValue();
|
||||
}
|
||||
public double getLifetimeEventCount() {
|
||||
public long getLifetimeEventCount() {
|
||||
if ( (_rates == null) || (_rates.length <= 0) ) return 0;
|
||||
return _rates[0].getLifetimeEventCount();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user