diff options
author | Dr Scofield | 2008-06-27 16:58:21 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 16:58:21 +0000 |
commit | feb30217de48f4b3d869bf13453a945a04ee2524 (patch) | |
tree | 9da974ca87997d2bdfdda8c027314b01eb8c299a /OpenSim/Framework/Statistics | |
parent | * restore suppression of mono addins manager warnings (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Framework/Statistics/AssetStatsCollector.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Statistics/UserStatsCollector.cs | 2 |
2 files changed, 2 insertions, 2 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 |
diff --git a/OpenSim/Framework/Statistics/UserStatsCollector.cs b/OpenSim/Framework/Statistics/UserStatsCollector.cs index e094d91..9ff44ca 100644 --- a/OpenSim/Framework/Statistics/UserStatsCollector.cs +++ b/OpenSim/Framework/Statistics/UserStatsCollector.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Statistics | |||
81 | /// Report back collected statistical information. | 81 | /// Report back collected statistical information. |
82 | /// </summary> | 82 | /// </summary> |
83 | /// <returns></returns> | 83 | /// <returns></returns> |
84 | public string Report() | 84 | override public string Report() |
85 | { | 85 | { |
86 | return string.Format( | 86 | return string.Format( |
87 | @"Successful logins total : {0}, today : {1}, yesterday : {2} | 87 | @"Successful logins total : {0}, today : {1}, yesterday : {2} |