Delete trailing whitespace in spring-test