Remove trailing whitespace from java programming guide