From 7aa216d574897005c6d54e02e3e968e42d52f502 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Wed, 28 Jan 2009 01:55:45 +0000 Subject: [PATCH] Slight cleanup of docs, removing trailing whitespace. --- OpenSim/Data/MySQL/MySQLAssetData.cs | 11 +++++------ OpenSim/Framework/PluginLoader.cs | 12 ++++++------ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/OpenSim/Data/MySQL/MySQLAssetData.cs b/OpenSim/Data/MySQL/MySQLAssetData.cs index d4a7980dd6..1e666180e3 100644 --- a/OpenSim/Data/MySQL/MySQLAssetData.cs +++ b/OpenSim/Data/MySQL/MySQLAssetData.cs @@ -45,7 +45,7 @@ namespace OpenSim.Data.MySQL private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private MySQLManager _dbConnection; - private long TicksToEpoch; + private long TicksToEpoch; #region IPlugin Members @@ -93,9 +93,8 @@ namespace OpenSim.Data.MySQL /// /// /// - /// connect string - /// Probably DEPRECATED and shouldn't be used - override public void Initialise() + /// DEPRECATED and shouldn't be used + public override void Initialise() { IniFile GridDataMySqlFile = new IniFile("mysql_connection.ini"); string hostname = GridDataMySqlFile.ParseFileReadValue("hostname"); @@ -109,7 +108,7 @@ namespace OpenSim.Data.MySQL } - override public void Dispose() { } + public override void Dispose() { } #region IAssetProviderPlugin Members @@ -257,7 +256,7 @@ namespace OpenSim.Data.MySQL _dbConnection.Reconnect(); } } - + } /// diff --git a/OpenSim/Framework/PluginLoader.cs b/OpenSim/Framework/PluginLoader.cs index baf9c57142..15e0b9f7ab 100644 --- a/OpenSim/Framework/PluginLoader.cs +++ b/OpenSim/Framework/PluginLoader.cs @@ -182,7 +182,7 @@ namespace OpenSim.Framework T plugin = (T)node.CreateInstance(); loadedPlugins.Add(plugin); } - + // We do Initialise() in a second loop after CreateInstance // So that modules who need init before others can do it // Example: Script Engine Component System needs to load its components before RegionLoader starts @@ -349,7 +349,7 @@ namespace OpenSim.Framework } /// - /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in + /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in /// their addin.xml /// public class PluginProviderFilter : IPluginFilter @@ -365,7 +365,7 @@ namespace OpenSim.Framework public PluginProviderFilter(string p) { m_filters = p.Split(','); - + for (int i = 0; i < m_filters.Length; i++) { m_filters[i] = m_filters[i].Trim(); @@ -379,14 +379,14 @@ namespace OpenSim.Framework /// true if the plugin's name matched one of the filters, false otherwise. public bool Apply (PluginExtensionNode plugin) { - for (int i = 0; i < m_filters.Length; i++) + for (int i = 0; i < m_filters.Length; i++) { - if (m_filters[i] == plugin.Provider) + if (m_filters[i] == plugin.Provider) { return true; } } - + return false; } }