fixed whitespace at end of line checkstyle errors