Remove exception badness in the LSL Types. Who ever came up with that.....?!
parent
c263fc54ac
commit
54da64acac
|
@ -615,10 +615,10 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
{
|
{
|
||||||
int la = -1;
|
int la = -1;
|
||||||
int lb = -1;
|
int lb = -1;
|
||||||
try { la = a.Length; }
|
if (a != null)
|
||||||
catch (NullReferenceException) { }
|
la = a.Length;
|
||||||
try { lb = b.Length; }
|
if (b != null)
|
||||||
catch (NullReferenceException) { }
|
lb = b.Length;
|
||||||
|
|
||||||
return la == lb;
|
return la == lb;
|
||||||
}
|
}
|
||||||
|
@ -627,10 +627,10 @@ namespace OpenSim.Region.ScriptEngine.Shared
|
||||||
{
|
{
|
||||||
int la = -1;
|
int la = -1;
|
||||||
int lb = -1;
|
int lb = -1;
|
||||||
try { la = a.Length; }
|
if (a != null)
|
||||||
catch (NullReferenceException) { }
|
la = a.Length;
|
||||||
try {lb = b.Length;}
|
if (b != null)
|
||||||
catch (NullReferenceException) { }
|
lb = b.Length;
|
||||||
|
|
||||||
return la != lb;
|
return la != lb;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue