Checkstyle - removed unneeded typecasts

Pull removes (T) instances that are not in fact needed.
this change seems unrelated to remove unneeded typecasts. You just can't help yourself, can you :-)