Fix checkstyle LineHasTrailingSpaces rule