remove unnecessary test in CharTypeOf
indentation and spacing
Merge pull request #1591 from monarchdodra/CharTypeOf

Remove unnecessary test in CharTypeOf