aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorJeff Ames2008-10-17 02:50:39 +0000
committerJeff Ames2008-10-17 02:50:39 +0000
commitf5c9600eb73a196410df4a5b55fbdf836b9c319d (patch)
treedf1b3a73064808bda8bd8cfc39630eaec55176c1 /OpenSim/Data
parent* Added missing dependencies that was causing build to fail in windows. Mon... (diff)
downloadopensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.zip
opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.gz
opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.bz2
opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.xz
Update svn properties, minor formatting cleanup.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs4
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index 94dc1d3..82db481 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -213,7 +213,7 @@ namespace OpenSim.Data.SQLite
213 { 213 {
214 using (IDataReader reader = cmd.ExecuteReader()) 214 using (IDataReader reader = cmd.ExecuteReader())
215 { 215 {
216 if(reader.Read()) 216 if (reader.Read())
217 { 217 {
218 reader.Close(); 218 reader.Close();
219 return true; 219 return true;
@@ -492,7 +492,7 @@ namespace OpenSim.Data.SQLite
492 { 492 {
493 using (IDataReader reader = cmd.ExecuteReader()) 493 using (IDataReader reader = cmd.ExecuteReader())
494 { 494 {
495 if(reader.Read()) 495 if (reader.Read())
496 { 496 {
497 reader.Close(); 497 reader.Close();
498 return true; 498 return true;
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index 91bd586..4ca7290 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -317,7 +317,7 @@ namespace OpenSim.Data.Tests
317 StringBuilder name = new StringBuilder(); 317 StringBuilder name = new StringBuilder();
318 int size = random.Next(5,12); 318 int size = random.Next(5,12);
319 char ch ; 319 char ch ;
320 for(int i=0; i<size; i++) 320 for (int i=0; i<size; i++)
321 { 321 {
322 ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65))) ; 322 ch = Convert.ToChar(Convert.ToInt32(Math.Floor(26 * random.NextDouble() + 65))) ;
323 name.Append(ch); 323 name.Append(ch);