Formatting cleanup.

This commit is contained in:
Jeff Ames
2008-05-14 05:11:23 +00:00
parent eff470c0de
commit c995d60d37
62 changed files with 283 additions and 291 deletions

View File

@@ -196,7 +196,7 @@ namespace OpenSim.Framework.Communications.Capabilities
/// <param name="restMethod"></param>
public void DeregisterHandlers()
{
foreach(string capsName in m_capsHandlers.Caps)
foreach (string capsName in m_capsHandlers.Caps)
{
m_capsHandlers.Remove(capsName);
}

View File

@@ -37,7 +37,7 @@ using libsecondlife;
namespace OpenSim.Framework.Communications.Capabilities
{
/// <summary>
/// Borrowed from (a older version of ) libsl for now, as their new llsd code doesn't work we our decoding code.
/// Borrowed from (a older version of) libsl for now, as their new llsd code doesn't work we our decoding code.
/// </summary>
public static class LLSD
{

View File

@@ -31,7 +31,7 @@ namespace OpenSim.Framework
{
public delegate void restart(RegionInfo thisRegion);
//public delegate void regionup ( RegionInfo thisRegion );
//public delegate void regionup (RegionInfo thisRegion);
public enum RegionStatus : int
{

View File

@@ -163,7 +163,7 @@ namespace OpenSim.Framework
{
PacketType type=packet.Type;
if(pool[type] == null)
if (pool[type] == null)
{
pool[type] = new Stack();
}

View File

@@ -122,7 +122,7 @@ namespace OpenSim.Framework
get
{
// Old one defaults to IPv6
//return new IPEndPoint( Dns.GetHostAddresses( m_externalHostName )[0], m_internalEndPoint.Port );
//return new IPEndPoint(Dns.GetHostAddresses(m_externalHostName)[0], m_internalEndPoint.Port);
IPAddress ia = null;
// If it is already an IP, don't resolve it - just return directly

View File

@@ -116,7 +116,7 @@ namespace OpenSim.Framework
get
{
// Old one defaults to IPv6
//return new IPEndPoint( Dns.GetHostAddresses( m_externalHostName )[0], m_internalEndPoint.Port );
//return new IPEndPoint(Dns.GetHostAddresses(m_externalHostName)[0], m_internalEndPoint.Port);
IPAddress ia = null;
// If it is already an IP, don't resolve it - just return directly

View File

@@ -412,7 +412,7 @@ namespace OpenSim.Framework.Servers
public void HandleHTTPRequest(HttpListenerRequest request, HttpListenerResponse response)
{
switch( request.HttpMethod )
switch (request.HttpMethod)
{
case "OPTIONS":
response.StatusCode = 200;

View File

@@ -54,9 +54,9 @@ namespace OpenSim.Framework.Servers
/// </summary>
public virtual void Shutdown()
{
if(m_console != null)
if (m_console != null)
{
m_console.Close();
m_console.Close();
}
Environment.Exit(0);
}
@@ -112,7 +112,7 @@ namespace OpenSim.Framework.Servers
/// </summary>
private void Notice(string msg)
{
if(m_console != null)
if (m_console != null)
{
m_console.Notice(msg);
}