Simplify oldstats.jsp if no events in a stat

This commit is contained in:
zzz
2008-05-10 14:28:37 +00:00
parent 3a203c3018
commit 4c2c5ca232
2 changed files with 59 additions and 41 deletions

View File

@@ -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();
}