aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);