Formatting cleanup.

0.6.0-stable
Jeff Ames 2008-05-28 03:44:49 +00:00
parent e34f537a1a
commit 5752c1f5c2
23 changed files with 206 additions and 204 deletions

View File

@ -319,10 +319,11 @@ namespace OpenSim.Framework.Servers
}
}
}
catch(KeyNotFoundException) {}
catch(KeyNotFoundException)
{
}
return false;
}
/// <summary>
@ -478,7 +479,6 @@ namespace OpenSim.Framework.Servers
private bool HandleAgentRequest(IHttpAgentHandler handler, OSHttpRequest request, OSHttpResponse response)
{
// In the case of REST, then handler is responsible for ALL aspects of
// the request/response handling. Nothing is done here, not even encoding.
@ -500,11 +500,12 @@ namespace OpenSim.Framework.Servers
response.StatusCode = (int)OSHttpStatusCode.ServerErrorInternalError;
response.OutputStream.Close();
}
catch(Exception){}
catch(Exception)
{
}
}
return true;
}
public void HandleHTTPRequest(OSHttpRequest request, OSHttpResponse response)
@ -765,7 +766,10 @@ namespace OpenSim.Framework.Servers
return true;
}
}
catch(KeyNotFoundException) {}
catch(KeyNotFoundException)
{
}
return false;
}

View File

@ -360,7 +360,6 @@ namespace OpenSim.Region.Environment.Scenes
group.SetGroup(GroupID, remoteClient);
else
remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false);
}
}
}
@ -863,7 +862,6 @@ namespace OpenSim.Region.Environment.Scenes
{
break;
}
}
grp.scriptScore = 0;
}