Adds a javadoc comment to the method added to fix the validation error