mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -184,7 +184,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public static PhysicsInertiaData FromXml2(string text)
|
||||
{
|
||||
if (text == String.Empty)
|
||||
if (text.Length == 0)
|
||||
return null;
|
||||
|
||||
bool error;
|
||||
|
||||
Reference in New Issue
Block a user