mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Slight cleanup of docs, removing trailing whitespace.
This commit is contained in:
@@ -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
|
||||
/// </list>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <param name="connect">connect string</param>
|
||||
/// <remarks>Probably DEPRECATED and shouldn't be used</remarks>
|
||||
override public void Initialise()
|
||||
/// <remarks>DEPRECATED and shouldn't be used</remarks>
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
/// </summary>
|
||||
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
|
||||
/// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns>
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user