From a23d64dec1cbf88abc3c7e84664a683dee534e4a Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Wed, 10 Jun 2009 04:28:56 +0000
Subject: Formatting cleanup.
---
OpenSim/Region/UserStatistics/HTMLUtil.cs | 19 +++++++++++--------
OpenSim/Region/UserStatistics/LogLinesAJAX.cs | 2 +-
OpenSim/Region/UserStatistics/WebStatsModule.cs | 2 +-
3 files changed, 13 insertions(+), 10 deletions(-)
(limited to 'OpenSim/Region/UserStatistics')
diff --git a/OpenSim/Region/UserStatistics/HTMLUtil.cs b/OpenSim/Region/UserStatistics/HTMLUtil.cs
index bd0c74a..c07619f 100644
--- a/OpenSim/Region/UserStatistics/HTMLUtil.cs
+++ b/OpenSim/Region/UserStatistics/HTMLUtil.cs
@@ -43,6 +43,7 @@ namespace OpenSim.Region.UserStatistics
}
o.Append(">\n\t");
}
+
public static void TR_C(ref StringBuilder o)
{
o.Append("\n");
@@ -52,6 +53,7 @@ namespace OpenSim.Region.UserStatistics
{
TD_O(ref o, pclass, 0, 0);
}
+
public static void TD_O(ref StringBuilder o, string pclass, int rowspan, int colspan)
{
o.Append("
");
}
+
public static void TD_C(ref StringBuilder o)
{
o.Append(" | ");
}
+
public static void TABLE_O(ref StringBuilder o, string pclass)
{
o.Append("\n\t");
}
+
public static void TABLE_C(ref StringBuilder o)
{
o.Append("
\n");
@@ -208,24 +213,22 @@ namespace OpenSim.Region.UserStatistics
});
// ]]>
");
-
}
- public static void HtmlHeaders_O ( ref StringBuilder o)
+ public static void HtmlHeaders_O(ref StringBuilder o)
{
o.Append("\n");
o.Append("");
o.Append("");
-
-
}
- public static void HtmlHeaders_C ( ref StringBuilder o)
+
+ public static void HtmlHeaders_C(ref StringBuilder o)
{
o.Append("");
o.Append("");
}
- public static void AddReportLinks( ref StringBuilder o, Dictionary reports, string pClass)
+ public static void AddReportLinks(ref StringBuilder o, Dictionary reports, string pClass)
{
int repcount = 0;
foreach (string str in reports.Keys)
@@ -242,7 +245,8 @@ namespace OpenSim.Region.UserStatistics
}
}
}
- public static void A( ref StringBuilder o, string linktext, string linkhref, string pClass)
+
+ public static void A(ref StringBuilder o, string linktext, string linkhref, string pClass)
{
o.Append(" 0)
@@ -254,7 +258,6 @@ namespace OpenSim.Region.UserStatistics
o.Append("\">");
o.Append(linktext);
o.Append("");
-
}
}
}
diff --git a/OpenSim/Region/UserStatistics/LogLinesAJAX.cs b/OpenSim/Region/UserStatistics/LogLinesAJAX.cs
index 85d2e03..811baba 100644
--- a/OpenSim/Region/UserStatistics/LogLinesAJAX.cs
+++ b/OpenSim/Region/UserStatistics/LogLinesAJAX.cs
@@ -76,7 +76,7 @@ namespace OpenSim.Region.UserStatistics
string formatopen = "";
string formatclose = "";
- for (int i = 0; i < result.Length;i++ )
+ for (int i = 0; i < result.Length; i++)
{
if (result[i].Length >= 30)
{
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index 715d295..e383e71 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -398,7 +398,7 @@ namespace OpenSim.Region.UserStatistics
}
- public string readLogLines( int amount)
+ public string readLogLines(int amount)
{
Encoding encoding = Encoding.ASCII;
int sizeOfChar = encoding.GetByteCount("\n");
--
cgit v1.1