Slight cleanup of docs, removing trailing whitespace.
parent
0c712e9704
commit
7aa216d574
|
@ -45,7 +45,7 @@ namespace OpenSim.Data.MySQL
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private MySQLManager _dbConnection;
|
private MySQLManager _dbConnection;
|
||||||
private long TicksToEpoch;
|
private long TicksToEpoch;
|
||||||
|
|
||||||
#region IPlugin Members
|
#region IPlugin Members
|
||||||
|
|
||||||
|
@ -93,9 +93,8 @@ namespace OpenSim.Data.MySQL
|
||||||
/// </list>
|
/// </list>
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="connect">connect string</param>
|
/// <remarks>DEPRECATED and shouldn't be used</remarks>
|
||||||
/// <remarks>Probably DEPRECATED and shouldn't be used</remarks>
|
public override void Initialise()
|
||||||
override public void Initialise()
|
|
||||||
{
|
{
|
||||||
IniFile GridDataMySqlFile = new IniFile("mysql_connection.ini");
|
IniFile GridDataMySqlFile = new IniFile("mysql_connection.ini");
|
||||||
string hostname = GridDataMySqlFile.ParseFileReadValue("hostname");
|
string hostname = GridDataMySqlFile.ParseFileReadValue("hostname");
|
||||||
|
@ -109,7 +108,7 @@ namespace OpenSim.Data.MySQL
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override public void Dispose() { }
|
public override void Dispose() { }
|
||||||
|
|
||||||
#region IAssetProviderPlugin Members
|
#region IAssetProviderPlugin Members
|
||||||
|
|
||||||
|
@ -257,7 +256,7 @@ namespace OpenSim.Data.MySQL
|
||||||
_dbConnection.Reconnect();
|
_dbConnection.Reconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -182,7 +182,7 @@ namespace OpenSim.Framework
|
||||||
T plugin = (T)node.CreateInstance();
|
T plugin = (T)node.CreateInstance();
|
||||||
loadedPlugins.Add(plugin);
|
loadedPlugins.Add(plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We do Initialise() in a second loop after CreateInstance
|
// We do Initialise() in a second loop after CreateInstance
|
||||||
// So that modules who need init before others can do it
|
// So that modules who need init before others can do it
|
||||||
// Example: Script Engine Component System needs to load its components before RegionLoader starts
|
// Example: Script Engine Component System needs to load its components before RegionLoader starts
|
||||||
|
@ -349,7 +349,7 @@ namespace OpenSim.Framework
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <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
|
/// their addin.xml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PluginProviderFilter : IPluginFilter
|
public class PluginProviderFilter : IPluginFilter
|
||||||
|
@ -365,7 +365,7 @@ namespace OpenSim.Framework
|
||||||
public PluginProviderFilter(string p)
|
public PluginProviderFilter(string p)
|
||||||
{
|
{
|
||||||
m_filters = p.Split(',');
|
m_filters = p.Split(',');
|
||||||
|
|
||||||
for (int i = 0; i < m_filters.Length; i++)
|
for (int i = 0; i < m_filters.Length; i++)
|
||||||
{
|
{
|
||||||
m_filters[i] = m_filters[i].Trim();
|
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>
|
/// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns>
|
||||||
public bool Apply (PluginExtensionNode plugin)
|
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 true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue