Skip to content

Commit 7413779

Browse files
committed
Polish changes from pull request #205
- Replace space intendation with tabs - Remove leading tabs on otherwise empty lines - Remove illegal {@link ...} syntax in Javadoc @see reference Issue: SPR-10093
1 parent a56d8f2 commit 7413779

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spring-test-mvc/src/main/java/org/springframework/test/web/servlet/setup/DefaultMockMvcBuilder.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class DefaultMockMvcBuilder<Self extends MockMvcBuilder> extends MockMvcB
5454
private final List<ResultMatcher> globalResultMatchers = new ArrayList<ResultMatcher>();
5555

5656
private final List<ResultHandler> globalResultHandlers = new ArrayList<ResultHandler>();
57-
57+
5858
private Boolean dispatchOptions = Boolean.FALSE;
5959

6060

@@ -180,17 +180,17 @@ public final <T extends Self> T alwaysDo(ResultHandler resultHandler) {
180180
this.globalResultHandlers.add(resultHandler);
181181
return (T) this;
182182
}
183-
183+
184184
/**
185-
* Should the {@link DispatcherServlet} dispatch OPTIONS request to controllers.
186-
* @param dispatchOptions
187-
* @see {@link DispatcherServlet#setDispatchOptionsRequest(boolean)}
188-
*/
185+
* Should the {@link DispatcherServlet} dispatch OPTIONS request to controllers.
186+
* @param dispatchOptions
187+
* @see DispatcherServlet#setDispatchOptionsRequest(boolean)
188+
*/
189189
@SuppressWarnings("unchecked")
190-
public final <T extends Self> T dispatchOptions(boolean dispatchOptions) {
191-
this.dispatchOptions = dispatchOptions;
192-
return (T) this;
193-
}
190+
public final <T extends Self> T dispatchOptions(boolean dispatchOptions) {
191+
this.dispatchOptions = dispatchOptions;
192+
return (T) this;
193+
}
194194

195195
/**
196196
* Build a {@link MockMvc} instance.

0 commit comments

Comments
 (0)