From ee205e7e812e170f670e690a4e0fa9caa652f226 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Thu, 1 Oct 2009 01:00:09 +0900 Subject: Formatting cleanup. --- .../Communications/Hypergrid/HGCommunicationsGridMode.cs | 4 ++-- .../Communications/Hypergrid/HGCommunicationsStandalone.cs | 8 ++++---- OpenSim/Region/Communications/Hypergrid/HGUserServices.cs | 2 +- OpenSim/Region/Communications/Local/CommunicationsLocal.cs | 8 ++++---- OpenSim/Region/Communications/Local/LocalUserServices.cs | 4 ++-- OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs | 2 +- OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs | 6 +++--- OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 10 +++++----- 8 files changed, 22 insertions(+), 22 deletions(-) (limited to 'OpenSim/Region/Communications') diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs index 002ea17..e80f6ab 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsGridMode.cs @@ -50,11 +50,11 @@ namespace OpenSim.Region.Communications.Hypergrid HGUserServices userServices = new HGUserServices(this); // This plugin arrangement could eventually be configurable rather than hardcoded here. userServices.AddPlugin(new TemporaryUserProfilePlugin()); - userServices.AddPlugin(new HGUserDataPlugin(this, userServices)); + userServices.AddPlugin(new HGUserDataPlugin(this, userServices)); m_userService = userServices; m_messageService = userServices; - m_avatarService = userServices; + m_avatarService = userServices; } } } diff --git a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs index f5126ca..4e3f5a1 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGCommunicationsStandalone.cs @@ -41,13 +41,13 @@ namespace OpenSim.Region.Communications.Hypergrid public class HGCommunicationsStandalone : CommunicationsManager { public HGCommunicationsStandalone( - ConfigSettings configSettings, + ConfigSettings configSettings, NetworkServersInfo serversInfo, BaseHttpServer httpServer, LibraryRootFolder libraryRootFolder, bool dumpAssetsToFile) : base(serversInfo, libraryRootFolder) - { + { LocalUserServices localUserService = new LocalUserServices( serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY, this); @@ -58,8 +58,8 @@ namespace OpenSim.Region.Communications.Hypergrid hgUserService.AddPlugin(new TemporaryUserProfilePlugin()); hgUserService.AddPlugin(new HGUserDataPlugin(this, hgUserService)); - m_userService = hgUserService; - m_userAdminService = hgUserService; + m_userService = hgUserService; + m_userAdminService = hgUserService; m_avatarService = hgUserService; m_messageService = hgUserService; diff --git a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs index f1a56ef..49a2261 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGUserServices.cs @@ -87,7 +87,7 @@ namespace OpenSim.Region.Communications.Hypergrid return m_localUserServices.AddUserAgent(agentdata); return base.AddUserAgent(agentdata); - } + } public override UserAgentData GetAgentByUUID(UUID userId) { diff --git a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs index 99bcea3..eaf996d 100644 --- a/OpenSim/Region/Communications/Local/CommunicationsLocal.cs +++ b/OpenSim/Region/Communications/Local/CommunicationsLocal.cs @@ -37,7 +37,7 @@ namespace OpenSim.Region.Communications.Local public class CommunicationsLocal : CommunicationsManager { public CommunicationsLocal( - ConfigSettings configSettings, + ConfigSettings configSettings, NetworkServersInfo serversInfo, LibraryRootFolder libraryRootFolder) : base(serversInfo, libraryRootFolder) @@ -47,13 +47,13 @@ namespace OpenSim.Region.Communications.Local = new LocalUserServices( serversInfo.DefaultHomeLocX, serversInfo.DefaultHomeLocY, this); lus.AddPlugin(new TemporaryUserProfilePlugin()); - lus.AddPlugin(configSettings.StandaloneUserPlugin, configSettings.StandaloneUserSource); + lus.AddPlugin(configSettings.StandaloneUserPlugin, configSettings.StandaloneUserSource); m_userService = lus; - m_userAdminService = lus; + m_userAdminService = lus; m_avatarService = lus; m_messageService = lus; - //LocalLoginService loginService = CreateLoginService(libraryRootFolder, inventoryService, userService, backendService); + //LocalLoginService loginService = CreateLoginService(libraryRootFolder, inventoryService, userService, backendService); } } } diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index d18937e..89b55c4 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs @@ -94,7 +94,7 @@ namespace OpenSim.Region.Communications.Local if (md5PasswordHash == userProfile.PasswordHash) return true; else - return false; - } + return false; + } } } \ No newline at end of file diff --git a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs index c2b8f26..94e4ed2 100644 --- a/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs +++ b/OpenSim/Region/Communications/OGS1/CommunicationsOGS1.cs @@ -40,7 +40,7 @@ namespace OpenSim.Region.Communications.OGS1 : base(serversInfo, libraryRootFolder) { - // This plugin arrangement could eventually be configurable rather than hardcoded here. + // This plugin arrangement could eventually be configurable rather than hardcoded here. OGS1UserServices userServices = new OGS1UserServices(this); userServices.AddPlugin(new TemporaryUserProfilePlugin()); userServices.AddPlugin(new OGS1UserDataPlugin(this)); diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs b/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs index 01d6ec8..2f9a45f 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserDataPlugin.cs @@ -81,7 +81,7 @@ namespace OpenSim.Region.Communications.OGS1 public virtual void AddTemporaryUserProfile(UserProfileData userProfile) { // Not interested - } + } public UserProfileData GetUserByUri(Uri uri) { @@ -695,7 +695,7 @@ namespace OpenSim.Region.Communications.OGS1 userData.Partner = UUID.Zero; return userData; - } + } protected AvatarAppearance ConvertXMLRPCDataToAvatarAppearance(Hashtable data) { @@ -766,6 +766,6 @@ namespace OpenSim.Region.Communications.OGS1 } return buddylist; - } + } } } diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 51ba2e9..ed3526d 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs @@ -41,7 +41,7 @@ using OpenSim.Framework.Communications; using OpenSim.Framework.Communications.Clients; namespace OpenSim.Region.Communications.OGS1 -{ +{ public class OGS1UserServices : UserManagerBase { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -94,7 +94,7 @@ namespace OpenSim.Region.Communications.OGS1 catch (WebException) { m_log.Warn("[LOGOFF]: Unable to notify grid server of user logoff"); - } + } } /// @@ -150,10 +150,10 @@ namespace OpenSim.Region.Communications.OGS1 IList parameters = new ArrayList(); parameters.Add(param); XmlRpcRequest req = new XmlRpcRequest("authenticate_user_by_password", parameters); - XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 30000); + XmlRpcResponse resp = req.Send(m_commsManager.NetworkServersInfo.UserURL, 30000); // Temporary measure to deal with older services - if (resp.IsFault && resp.FaultCode == XmlRpcErrorCodes.SERVER_ERROR_METHOD) + if (resp.IsFault && resp.FaultCode == XmlRpcErrorCodes.SERVER_ERROR_METHOD) { throw new Exception( String.Format( @@ -170,7 +170,7 @@ namespace OpenSim.Region.Communications.OGS1 else { return false; - } + } } } } \ No newline at end of file -- cgit v1.1