Return plain string if no spaces required.
Fix javadoc.