mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
refactor: replace verbose checks with String.IsNullOrEmpty where applicable.
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
This commit is contained in:
@@ -473,7 +473,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
get
|
||||
{
|
||||
if (CreatorData != null && CreatorData != string.Empty)
|
||||
if (!string.IsNullOrEmpty(CreatorData))
|
||||
return CreatorID.ToString() + ';' + CreatorData;
|
||||
else
|
||||
return CreatorID.ToString();
|
||||
|
||||
Reference in New Issue
Block a user