Fix double whitespaces and add Javadoc links