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
This commit is contained in:
Chris Beams
2013-01-11 16:28:48 +01:00
parent a56d8f28fe
commit 74137794da

View File

@@ -54,7 +54,7 @@ public class DefaultMockMvcBuilder<Self extends MockMvcBuilder> extends MockMvcB
private final List<ResultMatcher> globalResultMatchers = new ArrayList<ResultMatcher>();
private final List<ResultHandler> globalResultHandlers = new ArrayList<ResultHandler>();
private Boolean dispatchOptions = Boolean.FALSE;
@@ -180,17 +180,17 @@ public class DefaultMockMvcBuilder<Self extends MockMvcBuilder> extends MockMvcB
this.globalResultHandlers.add(resultHandler);
return (T) this;
}
/**
* Should the {@link DispatcherServlet} dispatch OPTIONS request to controllers.
* @param dispatchOptions
* @see {@link DispatcherServlet#setDispatchOptionsRequest(boolean)}
*/
* Should the {@link DispatcherServlet} dispatch OPTIONS request to controllers.
* @param dispatchOptions
* @see DispatcherServlet#setDispatchOptionsRequest(boolean)
*/
@SuppressWarnings("unchecked")
public final <T extends Self> T dispatchOptions(boolean dispatchOptions) {
this.dispatchOptions = dispatchOptions;
return (T) this;
}
public final <T extends Self> T dispatchOptions(boolean dispatchOptions) {
this.dispatchOptions = dispatchOptions;
return (T) this;
}
/**
* Build a {@link MockMvc} instance.