aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Statistics/AssetStatsCollector.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-27 16:58:21 +0000
committerDr Scofield2008-06-27 16:58:21 +0000
commitfeb30217de48f4b3d869bf13453a945a04ee2524 (patch)
tree9da974ca87997d2bdfdda8c027314b01eb8c299a /OpenSim/Framework/Statistics/AssetStatsCollector.cs
parent* restore suppression of mono addins manager warnings (diff)
downloadopensim-SC_OLD-feb30217de48f4b3d869bf13453a945a04ee2524.zip
opensim-SC_OLD-feb30217de48f4b3d869bf13453a945a04ee2524.tar.gz
opensim-SC_OLD-feb30217de48f4b3d869bf13453a945a04ee2524.tar.bz2
opensim-SC_OLD-feb30217de48f4b3d869bf13453a945a04ee2524.tar.xz
dr scofield's warning safari:
* commented out [Obsolete(....)] attributes where no replacement feature was available: if we want to attribute code that we think needs to be reworked, we should define a new attribute and use that instead (together with a little tool to retrieve all the attributed code then) * commenting out unused variables
Diffstat (limited to 'OpenSim/Framework/Statistics/AssetStatsCollector.cs')
-rw-r--r--OpenSim/Framework/Statistics/AssetStatsCollector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Statistics/AssetStatsCollector.cs b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
index f2b765f..526132a 100644
--- a/OpenSim/Framework/Statistics/AssetStatsCollector.cs
+++ b/OpenSim/Framework/Statistics/AssetStatsCollector.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Statistics
86 /// Report back collected statistical information. 86 /// Report back collected statistical information.
87 /// </summary> 87 /// </summary>
88 /// <returns></returns> 88 /// <returns></returns>
89 public string Report() 89 override public string Report()
90 { 90 {
91 double elapsedHours = (DateTime.Now - startTime).TotalHours; 91 double elapsedHours = (DateTime.Now - startTime).TotalHours;
92 if (elapsedHours <= 0) { elapsedHours = 1; } // prevent divide by zero 92 if (elapsedHours <= 0) { elapsedHours = 1; } // prevent divide by zero