add checkstyle whitespace checks

I think it's time to add this checkstyle check.

@radumereuta please review