* Optimized usings (the 'LL ate my scripts' commit)

* added some licensing info
This commit is contained in:
lbsa71
2007-07-03 14:37:29 +00:00
parent 73a5ec391a
commit 9b6b6d05d4
184 changed files with 705 additions and 1207 deletions

View File

@@ -26,9 +26,7 @@
*
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.

View File

@@ -30,10 +30,10 @@
// A bad idea, but the IRC people told me to!
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using libsecondlife;
using OpenSim.Framework.Console;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Types;
@@ -54,8 +54,8 @@ namespace OpenSim.Region.Storage.LocalStorageSQLite
catch (Exception e)
{
db.Close();
OpenSim.Framework.Console.MainLog.Instance.Warn("SQLiteLocalStorage :Constructor - Exception occured");
OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
MainLog.Instance.Warn("SQLiteLocalStorage :Constructor - Exception occured");
MainLog.Instance.Warn(e.ToString());
}
}
@@ -117,8 +117,8 @@ namespace OpenSim.Region.Storage.LocalStorageSQLite
}
catch (Exception e)
{
OpenSim.Framework.Console.MainLog.Instance.Warn("SQLiteLocalStorage :StorePrim - Exception occured");
OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
MainLog.Instance.Warn("SQLiteLocalStorage :StorePrim - Exception occured");
MainLog.Instance.Warn(e.ToString());
}
cmd.Dispose();
@@ -144,8 +144,8 @@ namespace OpenSim.Region.Storage.LocalStorageSQLite
}
catch (Exception e)
{
OpenSim.Framework.Console.MainLog.Instance.Warn("SQLiteLocalStorage :RemovePrim - Exception occured");
OpenSim.Framework.Console.MainLog.Instance.Warn(e.ToString());
MainLog.Instance.Warn("SQLiteLocalStorage :RemovePrim - Exception occured");
MainLog.Instance.Warn(e.ToString());
}
cmd.Dispose();