Formatting cleanup.

This commit is contained in:
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

@@ -72,7 +72,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions
{
get
{
switch(idx.ToLower())
switch (idx.ToLower())
{
case "name":
return region_name;

View File

@@ -194,7 +194,7 @@ namespace OpenSim.ApplicationPlugins.Rest
try
{
if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null)
if ((_config = openSim.ConfigSource.Configs["RestPlugins"]) == null)
{
m_log.WarnFormat("{0} Rest Plugins not configured", MsgID);
return;
@@ -296,7 +296,7 @@ namespace OpenSim.ApplicationPlugins.Rest
public bool RemoveAgentHandler(string agentName, IHttpAgentHandler handler)
{
if (!IsEnabled) return false;
if(_agents[agentName] == handler)
if (_agents[agentName] == handler)
{
_agents.Remove(agentName);
return _httpd.RemoveAgentHandler(agentName, handler);