Strip trailing whitespaces in java files