From 1bd92a6d34eb6461f7b8b9250b18247ccd69084b Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 3 Dec 2008 23:48:24 +0000 Subject: [PATCH] Minor formatting cleanup. --- .../RemoteController/RemoteAdminPlugin.cs | 14 +++++++------- .../Shared/Api/Implementation/LSL_Api.cs | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 44f9c1af38..16fe6f9895 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs @@ -380,7 +380,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { int m_regionLimit = m_config.GetInt("region_limit", 0); try { @@ -574,7 +574,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; checkStringParameters(request, new string[] {"password", "region_name"}); @@ -649,7 +649,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -749,7 +749,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable)request.Params[0]; @@ -917,7 +917,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -1043,7 +1043,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { Hashtable requestData = (Hashtable) request.Params[0]; @@ -1194,7 +1194,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController XmlRpcResponse response = new XmlRpcResponse(); Hashtable responseData = new Hashtable(); - lock(this) { + lock (this) { try { diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 52e7288497..7a7c8d6514 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -3029,9 +3029,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api return; } IClientAPI client = null; - ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); - if (sp!=null) - client = sp.ControllingClient; + ScenePresence sp = World.GetScenePresence(m_host.TaskInventory[invItemID].PermsGranter); + if (sp != null) + client = sp.ControllingClient; SceneObjectPart targetPart = World.GetSceneObjectPart((UUID)target); if (targetPart.ParentGroup.RootPart.AttachmentPoint != 0) return; // Fail silently if attached