removed useless typecasts
Merge pull request #807 from Unicon/checkstyle-redundant-typecast

Checkstyle - removed unneeded typecasts