fixes #8465 - remove trailing whitespace (rubocop)