Fixed checkstyle problem.
@@ -33,8 +33,7 @@ import com.google.web.bindery.event.shared.HandlerRegistration;
import com.google.web.bindery.event.shared.SimpleEventBus;
/**
- * Useful for validating a group of fields that implement the
- * {@link HasValidators} interface.
+ * Useful for validating a group of fields that implement the {@link HasValidators} interface.
*
* @author Steven Jardine
*/
@@ -62,10 +61,8 @@ public class GroupValidator implements ValidationChangedEvent.HasValidationChang
/**
* Adds a field to the group.
*
- * @param <T>
- * the generic type
- * @param field
- * the field
+ * @param <T> the generic type
+ * @param field the field
*/
public <T extends Widget & HasValidators<?>> void add(final T field) {
fields.put(field, field.validate(false));
@@ -98,10 +95,8 @@ public class GroupValidator implements ValidationChangedEvent.HasValidationChang
/**
* Removes a field from the validation group.
*
- * @param <T>
- * the generic type
- * @param field
- * the field
+ * @param <T> the generic type
+ * @param field the field
* @return true, if successful
*/
public <T extends Widget & HasValidators<?>> boolean remove(final T field) {
@@ -115,8 +110,7 @@ public class GroupValidator implements ValidationChangedEvent.HasValidationChang
}
/**
- * Update the state of the validator and notify via {@link EventBus} any changed
- * handlers.
+ * Update the state of the validator and notify via {@link EventBus} any changed handlers.
*/
private void updateStateAndNotify() {
Boolean oldGroupValid = groupValid;
@@ -130,8 +124,7 @@ public class GroupValidator implements ValidationChangedEvent.HasValidationChang
}
/**
- * Validate the group. This calls {@link Validator #validate(Editor, Object)} on
- * each field in the group.
+ * Validate the group. This calls {@link Validator #validate(Editor, Object)} on each field in the group.
*
* @return true, if successful
*/
@@ -140,12 +133,9 @@ public class GroupValidator implements ValidationChangedEvent.HasValidationChang
}
/**
- * Validate the group. This calls {@link Validator #validate(Editor, Object)} on
- * each field in the group.
+ * Validate the group. This calls {@link Validator #validate(Editor, Object)} on each field in the group.
*
- * @param show
- * do we want to show the user the result of the validate via ui
- * marks?
+ * @param show do we want to show the user the result of the validate via ui marks?
* @return true, if successful
*/
public boolean validate(boolean show) {
