From c995d60d37032db3198b8496e186aa7a892dc7a8 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 14 May 2008 05:11:23 +0000 Subject: Formatting cleanup. --- OpenSim/Data/Base/BaseDataReader.cs | 6 +++--- OpenSim/Data/Base/BaseTableMapper.cs | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'OpenSim/Data/Base') diff --git a/OpenSim/Data/Base/BaseDataReader.cs b/OpenSim/Data/Base/BaseDataReader.cs index da90f10..b71a966 100644 --- a/OpenSim/Data/Base/BaseDataReader.cs +++ b/OpenSim/Data/Base/BaseDataReader.cs @@ -117,7 +117,7 @@ namespace OpenSim.Data.Base return m_source.GetGuid(m_source.GetOrdinal(name)); } - public UInt32 GetUInt32(string name ) + public UInt32 GetUInt32(string name) { return (UInt32)GetInt32(name); } @@ -129,9 +129,9 @@ namespace OpenSim.Data.Base return int32; } - public Int64 GetInt64(string name) + public Int64 GetInt64(string name) { - int ordinal = m_source.GetOrdinal( name ); + int ordinal = m_source.GetOrdinal(name); long int64 = m_source.GetInt64(ordinal); return int64; } diff --git a/OpenSim/Data/Base/BaseTableMapper.cs b/OpenSim/Data/Base/BaseTableMapper.cs index ad60009..649b228 100644 --- a/OpenSim/Data/Base/BaseTableMapper.cs +++ b/OpenSim/Data/Base/BaseTableMapper.cs @@ -125,7 +125,7 @@ namespace OpenSim.Data.Base // HACK: This is a temporary function used by TryGetValue(). // Due to a bug in mono 1.2.6, delegate blocks cannot contain - // a using() block. This has been fixed in SVN, so the next + // a using block. This has been fixed in SVN, so the next // mono release should work. private void TryGetConnectionValue(DbConnection connection, TPrimaryKey primaryKey, ref TRowMapper result, ref bool success) { @@ -137,7 +137,7 @@ namespace OpenSim.Data.Base { if (reader.Read()) { - result = FromReader( CreateReader(reader)); + result = FromReader(CreateReader(reader)); success = true; } else @@ -165,7 +165,7 @@ namespace OpenSim.Data.Base // HACK: This is a temporary function used by Remove(). // Due to a bug in mono 1.2.6, delegate blocks cannot contain - // a using() block. This has been fixed in SVN, so the next + // a using block. This has been fixed in SVN, so the next // mono release should work. protected virtual void TryDelete(DbConnection connection, TPrimaryKey id, ref int deleted) { @@ -215,7 +215,7 @@ namespace OpenSim.Data.Base // HACK: This is a temporary function used by Update(). // Due to a bug in mono 1.2.6, delegate blocks cannot contain - // a using() block. This has been fixed in SVN, so the next + // a using block. This has been fixed in SVN, so the next // mono release should work. protected void TryUpdate(DbConnection connection, TPrimaryKey primaryKey, TRowMapper value, ref int updated) { @@ -246,7 +246,7 @@ namespace OpenSim.Data.Base // HACK: This is a temporary function used by Add(). // Due to a bug in mono 1.2.6, delegate blocks cannot contain - // a using() block. This has been fixed in SVN, so the next + // a using block. This has been fixed in SVN, so the next // mono release should work. protected void TryAdd(DbConnection connection, TRowMapper value, ref int added) { -- cgit v1.1