Merge pull request #1631 from bhamiltoncx/remove-unused-csharp-method
Remove unused C# runtime method Utils.ToCharArray
This commit is contained in:
commit
e7d6331632
|
@ -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