use some shared char arrays on string split

This commit is contained in:
UbitUmarov
2022-10-19 01:38:25 +01:00
parent 11005b24e9
commit fddb3761a0
24 changed files with 105 additions and 101 deletions

View File

@@ -359,7 +359,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
bool error = false;
if (!string.IsNullOrWhiteSpace(ownerPerm))
{
ids = ownerPerm.Split(new char[] {','});
ids = ownerPerm.Split(Util.SplitCommaArray);
foreach (string id in ids)
{
string current = id.Trim();
@@ -415,7 +415,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
error = false;
if (!string.IsNullOrWhiteSpace(creatorPerm))
{
ids = creatorPerm.Split(new char[] {','});
ids = creatorPerm.Split(Util.SplitCommaArray);
foreach (string id in ids)
{
string current = id.Trim();