[Java]: Removed extra whitespace from generated code.