Formatting cleanup.

This commit is contained in:
Jeff Ames
2008-08-18 00:39:10 +00:00
parent 531f6c01eb
commit 6ef9d4da90
208 changed files with 2980 additions and 3163 deletions

View File

@@ -63,7 +63,7 @@ namespace OpenSim.Data.MSSQL
database.ExecuteResourceSql("CreateAssetsTable.sql");
return;
}
}
/// <summary>
@@ -230,7 +230,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
/// Database provider version.
/// Database provider version.
/// </summary>
override public string Version
{
@@ -238,7 +238,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
/// The name of this DB provider.
/// The name of this DB provider.
/// </summary>
override public string Name
{

View File

@@ -51,8 +51,8 @@ namespace OpenSim.Data.MSSQL
private string m_regionsTableName;
override public void Initialise()
{
override public void Initialise()
{
m_log.Info("[MSSQLGridData]: " + Name + " cannot be default-initialized!");
throw new PluginNotInitialisedException (Name);
}
@@ -87,7 +87,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
///
///
/// </summary>
private void TestTables()
{
@@ -114,7 +114,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
/// The name of this DB provider.
/// The name of this DB provider.
/// </summary>
/// <returns>A string containing the storage system name</returns>
override public string Name
@@ -123,7 +123,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
/// Database provider version.
/// Database provider version.
/// </summary>
/// <returns>A string containing the storage system version</returns>
override public string Version
@@ -209,7 +209,7 @@ namespace OpenSim.Data.MSSQL
{
return database.getRegionRow(reader);
}
}
catch (Exception e)
{

View File

@@ -40,14 +40,14 @@ namespace OpenSim.Data.MSSQL
internal class MSSQLLogData : ILogDataPlugin
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
/// <summary>
/// The database manager
/// </summary>
public MSSQLManager database;
public void Initialise()
{
public void Initialise()
{
m_log.Info("[MSSQLLogData]: " + Name + " cannot be default-initialized!");
throw new PluginNotInitialisedException (Name);
}

View File

@@ -60,7 +60,7 @@ namespace OpenSim.Data.MSSQL
builder.UserID = userId;
builder.Password = password;
builder.ApplicationName = Assembly.GetEntryAssembly().Location;
connectionString = builder.ToString();
}
@@ -117,7 +117,7 @@ namespace OpenSim.Data.MSSQL
//}
/// <summary>
///
///
/// </summary>
/// <param name="dt"></param>
/// <param name="name"></param>
@@ -376,7 +376,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
///
///
/// </summary>
/// <param name="reader"></param>
/// <returns></returns>
@@ -492,7 +492,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
///
///
/// </summary>
/// <param name="name"></param>
/// <returns></returns>

View File

@@ -52,8 +52,8 @@ namespace OpenSim.Data.MSSQL
private string m_usersTableName;
private string m_userFriendsTableName;
public override void Initialise()
{
public override void Initialise()
{
m_log.Info("[MSSQLUserData]: " + Name + " cannot be default-initialized!");
throw new PluginNotInitialisedException (Name);
}
@@ -99,11 +99,11 @@ namespace OpenSim.Data.MSSQL
TestTables();
}
public override void Dispose () {}
public override void Dispose () {}
/// <summary>
///
///
/// </summary>
/// <returns></returns>
private bool TestTables()
@@ -205,7 +205,7 @@ namespace OpenSim.Data.MSSQL
{
adder.ExecuteNonQuery();
}
using (IDbCommand adder =
database.Query(
"INSERT INTO " + m_userFriendsTableName + " " +
@@ -351,7 +351,7 @@ namespace OpenSim.Data.MSSQL
}
/// <summary>
///
///
/// </summary>
/// <param name="queryID"></param>
/// <param name="query"></param>
@@ -379,7 +379,7 @@ namespace OpenSim.Data.MSSQL
user.firstName = (string)reader["username"];
user.lastName = (string)reader["lastname"];
returnlist.Add(user);
}
}
}
}
catch (Exception e)
@@ -406,7 +406,7 @@ namespace OpenSim.Data.MSSQL
returnlist.Add(user);
}
}
}
}
catch (Exception e)
{
m_log.Error(e.ToString());