Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit fe6b62c

Browse files
committed
Formatting
1 parent 0e62ce8 commit fe6b62c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-auto-restdocs-core/src/test/java/capital/scalable/restdocs/request/RequestParametersSnippetTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public void simpleRequestWithStringDefaultValueParameter() throws Exception {
139139
.attribute(ConstraintReader.class.getName(), constraintReader)
140140
.build());
141141
}
142+
142143
@Test
143144
public void noParameters() throws Exception {
144145
HandlerMethod handlerMethod = createHandlerMethod("items");
@@ -261,8 +262,8 @@ public void searchItem2(@RequestParam double param1, // required
261262
}
262263

263264
public void searchItem2String(@RequestParam double param1, // required
264-
@RequestParam(required = false) boolean param2, // required anyway
265-
@RequestParam(defaultValue = "de") String param3) { // not required
265+
@RequestParam(required = false) boolean param2, // required anyway
266+
@RequestParam(defaultValue = "de") String param3) { // not required
266267
// NOOP
267268
}
268269

0 commit comments

Comments
 (0)