Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
casid committed Jun 18, 2021
1 parent af05a30 commit 2daf857
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static ExecutionContext currentContext() {
private Resolution _resolution;
private LifecycleStage _lifecycleStage;
private boolean _resolutionFromHandler = false;
private Map<String, FormValidation> forms;
private Map<String, FormValidation> _forms;

/**
* Retrieves the ActionBean instance that is associated with the current request. Available
Expand All @@ -79,7 +79,7 @@ public ActionBeanContext getActionBeanContext() {
}

public Map<String, FormValidation> getForms() {
return forms;
return _forms;
}

/**
Expand Down Expand Up @@ -142,7 +142,7 @@ public void setActionBeanContext( ActionBeanContext actionBeanContext ) {
}

public void setForms( Map<String, FormValidation> forms ) {
this.forms = forms;
_forms = forms;
}

/** Sets the handler method that will be invoked to process the current request. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@

public class FormValidation {

private SingleBeanForm<?> form;
private Set<String> on;
private SingleBeanForm<?> _form;
private Set<String> _on;

public SingleBeanForm<?> getForm() {
return form;
return _form;
}

public Set<String> getOn() {
if ( on == null ) {
if ( _on == null ) {
return Collections.emptySet();
}
return on;
return _on;
}

public void setForm( SingleBeanForm<?> form ) {
this.form = form;
_form = form;
}

public void setOn( Set<String> on ) {
this.on = on;
_on = on;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@
import org.stripesframework.web.action.SingleBeanForm;


/**
* Annotation used to capture the validation needs of nested properties within an ActionBean. It
* contains a simple array of the Validate annotations. Each Validate annotation must have its
* field property set to the name of the field within the annotated property that is to be validated.
*
* @author Tim Fennell
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.METHOD })
@Documented
Expand Down

0 comments on commit 2daf857

Please sign in to comment.