Merge pull request #1631 from bhamiltoncx/remove-unused-csharp-method

Remove unused C# runtime method Utils.ToCharArray
This commit is contained in:
Terence Parr 2017-01-29 13:07:57 -08:00 committed by GitHub
commit e7d6331632
1 changed files with 0 additions and 14 deletions

View File

@ -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;
}
}
}