Formatting cleanup.

0.6.6-post-fixes
Jeff Ames 2009-06-10 04:28:56 +00:00
parent ca52c3ef26
commit a23d64dec1
61 changed files with 120 additions and 121 deletions

View File

@ -394,7 +394,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
return (path.Length == key.Length || return (path.Length == key.Length ||
path.Substring(key.Length, 1) == Rest.UrlPathSeparator); path.Substring(key.Length, 1) == Rest.UrlPathSeparator);
} }
} }
@ -418,7 +417,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory
return (path.Length == key.Length || return (path.Length == key.Length ||
path.Substring(key.Length, 1) == Rest.UrlPathSeparator); path.Substring(key.Length, 1) == Rest.UrlPathSeparator);
} }
} }
} }

View File

@ -429,7 +429,6 @@ namespace OpenSim.Region.Physics.Meshing
{ {
#if SPAM #if SPAM
m_log.Debug("Meshmerizer: prim " + primName + " has a size of " + size.ToString() + " which is below threshold of " + m_log.Debug("Meshmerizer: prim " + primName + " has a size of " + size.ToString() + " which is below threshold of " +
minSizeForComplexMesh.ToString() + " - creating simple bounding box"); minSizeForComplexMesh.ToString() + " - creating simple bounding box");
#endif #endif
mesh = CreateBoundingBoxMesh(mesh); mesh = CreateBoundingBoxMesh(mesh);
@ -443,6 +442,5 @@ minSizeForComplexMesh.ToString() + " - creating simple bounding box" );
return mesh; return mesh;
} }
} }
} }

View File

@ -677,7 +677,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
// It's possible that we don't have an assignment, in which case // It's possible that we don't have an assignment, in which case
// the child will be null and we only print the semicolon. // the child will be null and we only print the semicolon.
// for (x = 0; x < 10; x++) // for (x = 0; x < 10; x++)
// ^^^^^^^ // ^^^^^
ForLoopStatement s = (ForLoopStatement) fl.kids.Pop(); ForLoopStatement s = (ForLoopStatement) fl.kids.Pop();
if (null != s) if (null != s)
{ {
@ -685,11 +685,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
} }
retstr += Generate("; "); retstr += Generate("; ");
// for (x = 0; x < 10; x++) // for (x = 0; x < 10; x++)
// ^^^^^^^^ // ^^^^^^
retstr += GenerateNode((SYMBOL) fl.kids.Pop()); retstr += GenerateNode((SYMBOL) fl.kids.Pop());
retstr += Generate("; "); retstr += Generate("; ");
// for (x = 0; x < 10; x++) // for (x = 0; x < 10; x++)
// ^^^^^ // ^^^
retstr += GenerateForLoopStatement((ForLoopStatement) fl.kids.Pop()); retstr += GenerateForLoopStatement((ForLoopStatement) fl.kids.Pop());
retstr += GenerateLine(")"); retstr += GenerateLine(")");

View File

@ -43,6 +43,7 @@ namespace OpenSim.Region.UserStatistics
} }
o.Append(">\n\t"); o.Append(">\n\t");
} }
public static void TR_C(ref StringBuilder o) public static void TR_C(ref StringBuilder o)
{ {
o.Append("</tr>\n"); o.Append("</tr>\n");
@ -52,6 +53,7 @@ namespace OpenSim.Region.UserStatistics
{ {
TD_O(ref o, pclass, 0, 0); TD_O(ref o, pclass, 0, 0);
} }
public static void TD_O(ref StringBuilder o, string pclass, int rowspan, int colspan) public static void TD_O(ref StringBuilder o, string pclass, int rowspan, int colspan)
{ {
o.Append("<td"); o.Append("<td");
@ -73,10 +75,12 @@ namespace OpenSim.Region.UserStatistics
} }
o.Append(">"); o.Append(">");
} }
public static void TD_C(ref StringBuilder o) public static void TD_C(ref StringBuilder o)
{ {
o.Append("</td>"); o.Append("</td>");
} }
public static void TABLE_O(ref StringBuilder o, string pclass) public static void TABLE_O(ref StringBuilder o, string pclass)
{ {
o.Append("<table"); o.Append("<table");
@ -86,6 +90,7 @@ namespace OpenSim.Region.UserStatistics
} }
o.Append(">\n\t"); o.Append(">\n\t");
} }
public static void TABLE_C(ref StringBuilder o) public static void TABLE_C(ref StringBuilder o)
{ {
o.Append("</table>\n"); o.Append("</table>\n");
@ -208,7 +213,6 @@ namespace OpenSim.Region.UserStatistics
}); });
// ]]> // ]]>
</script>"); </script>");
} }
public static void HtmlHeaders_O(ref StringBuilder o) public static void HtmlHeaders_O(ref StringBuilder o)
@ -216,9 +220,8 @@ namespace OpenSim.Region.UserStatistics
o.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"); o.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n");
o.Append("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"nl\">"); o.Append("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"nl\">");
o.Append("<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />"); o.Append("<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />");
} }
public static void HtmlHeaders_C(ref StringBuilder o) public static void HtmlHeaders_C(ref StringBuilder o)
{ {
o.Append("</HEAD>"); o.Append("</HEAD>");
@ -242,6 +245,7 @@ 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("<A"); o.Append("<A");
@ -254,7 +258,6 @@ namespace OpenSim.Region.UserStatistics
o.Append("\">"); o.Append("\">");
o.Append(linktext); o.Append(linktext);
o.Append("</A>"); o.Append("</A>");
} }
} }
} }