mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -587,7 +587,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public static SOPVehicle FromXml2(string text)
|
||||
{
|
||||
if (text == String.Empty)
|
||||
if (text.Length == 0)
|
||||
return null;
|
||||
|
||||
UTF8Encoding enc = new UTF8Encoding();
|
||||
|
||||
Reference in New Issue
Block a user