..Equals(String.Empty) is also not good

This commit is contained in:
UbitUmarov
2022-03-14 20:11:54 +00:00
parent 3dcb77c7b7
commit 56c497adf5
10 changed files with 11 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ namespace OpenSim.Services.AuthorizationService
//
// We tried, but this doesn't exist. We can't proceed.
//
if (dllName.Equals(String.Empty))
if (string.IsNullOrEmpty(dllName))
throw new Exception("No StorageProvider configured");
m_Database = LoadPlugin<IAssetDataPlugin>(dllName);