From 5752c1f5c2ee069e2ff5ffc0ff2f186d7454c5c4 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 28 May 2008 03:44:49 +0000 Subject: Formatting cleanup. --- OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs | 2 +- OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/ApplicationPlugins/Rest') diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs index 5de623c..681b99f 100644 --- a/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs +++ b/OpenSim/ApplicationPlugins/Rest/Regions/RegionDetails.cs @@ -72,7 +72,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions { get { - switch(idx.ToLower()) + switch (idx.ToLower()) { case "name": return region_name; diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs index 9855658..e395840 100644 --- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs +++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs @@ -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); -- cgit v1.1