Remove unused C# runtime method Utils.ToCharArray
This commit is contained in:
parent
93f916745d
commit
5391d2a830
|
@ -131,19 +131,5 @@ namespace Antlr4.Runtime.Misc
|
|||
}
|
||||
return m;
|
||||
}
|
||||
|
||||
public static char[] ToCharArray(ArrayList<int> data)
|
||||
{
|
||||
if (data == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
char[] cdata = new char[data.Count];
|
||||
for (int i = 0; i < data.Count; i++)
|
||||
{
|
||||
cdata[i] = (char)data[i];
|
||||
}
|
||||
return cdata;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue