Ensure trailing whitespace on the last Javadoc line is trimmed.