Skip to content

Commit

Permalink
Fix checkstyle issues
Browse files Browse the repository at this point in the history
OFBIZ-13183
  • Loading branch information
florianMo committed Dec 13, 2024
1 parent 757bebd commit 6f633d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5652,10 +5652,18 @@ public void renderFieldString(Appendable writer, Map<String, Object> context, Fo
formStringRenderer.renderTextField(writer, context, this);
}

/**
* Gets type.
* @return the type
*/
public String getType() {
return this.type;
}

/**
* Gets pattern.
* @return the pattern
*/
public String getPattern() {
return this.pattern;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public void textFieldRequiredWithRequiredStyle(@Mocked final ModelFormField.Text
final RenderableFtl renderableFtl = renderableFtlFormElementsBuilder.textField(Map.of("session", httpSession), textField, true);
assertThat(renderableFtl, MacroCallMatcher.hasName("renderTextField"));
assertThat(renderableFtl, MacroCallMatcher.hasParameters(MacroCallParameterMatcher.hasNameAndBooleanValue("required", true)));
assertThat(renderableFtl, MacroCallMatcher.hasParameters(MacroCallParameterMatcher.hasNameAndStringValue("className", "someCssClass required")));
assertThat(renderableFtl, MacroCallMatcher.hasParameters(
MacroCallParameterMatcher.hasNameAndStringValue("className", "someCssClass required")));
}

@Test
Expand Down

0 comments on commit 6f633d6

Please sign in to comment.