mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
use some shared char arrays on string split
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user