Add a checkstyle rule to disallow trailing whitespaces.