Improve some String.Split calls.

This commit is contained in:
RoosterDragon
2024-11-13 18:53:34 +00:00
committed by Pavel Penev
parent cf7f57252e
commit bf7f81b7fe
6 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
string IUtilityCommand.Name => "--rgba2hex";
static readonly char[] Comma = new char[] { ',' };
const char Comma = ',';
bool IUtilityCommand.ValidateArguments(string[] args)
{
@@ -105,7 +105,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
{
string IUtilityCommand.Name => "--argb2hex";
static readonly char[] Comma = new char[] { ',' };
const char Comma = ',';
bool IUtilityCommand.ValidateArguments(string[] args)
{