diff options
author | Jeff Ames | 2008-10-17 02:50:39 +0000 |
---|---|---|
committer | Jeff Ames | 2008-10-17 02:50:39 +0000 |
commit | f5c9600eb73a196410df4a5b55fbdf836b9c319d (patch) | |
tree | df1b3a73064808bda8bd8cfc39630eaec55176c1 | |
parent | * Added missing dependencies that was causing build to fail in windows. Mon... (diff) | |
download | opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.zip opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.gz opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.bz2 opensim-SC-f5c9600eb73a196410df4a5b55fbdf836b9c319d.tar.xz |
Update svn properties, minor formatting cleanup.
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 2 |
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); |