mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
..Equals(String.Empty) is also not good
This commit is contained in:
@@ -138,10 +138,10 @@ namespace OpenSim.Services.FSAssetService
|
||||
}
|
||||
|
||||
// No databse connection found in either config
|
||||
if (dllName.Equals(String.Empty))
|
||||
if (string.IsNullOrEmpty(dllName))
|
||||
throw new Exception("No StorageProvider configured");
|
||||
|
||||
if (connectionString.Equals(String.Empty))
|
||||
if (string.IsNullOrEmpty(connectionString))
|
||||
throw new Exception("Missing database connection string");
|
||||
|
||||
// Create Storage Provider
|
||||
|
||||
Reference in New Issue
Block a user