Remove duplicate words
Closes gh-1039
This commit is contained in:
committed by
Stephane Nicoll
parent
50c11028d5
commit
44e652f99e
@@ -153,7 +153,7 @@ public class ServletWrappingController extends AbstractController
|
||||
|
||||
|
||||
/**
|
||||
* Invoke the the wrapped Servlet instance.
|
||||
* Invoke the wrapped Servlet instance.
|
||||
* @see javax.servlet.Servlet#service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -304,7 +304,7 @@ public class MvcUriComponentsBuilder {
|
||||
* <p>Note that it's not necessary to specify all arguments. Only the ones
|
||||
* required to prepare the URL, mainly {@code @RequestParam} and {@code @PathVariable}).
|
||||
* @param mappingName the mapping name
|
||||
* @return a builder to to prepare the URI String
|
||||
* @return a builder to prepare the URI String
|
||||
* @throws IllegalArgumentException if the mapping name is not found or
|
||||
* if there is no unique match
|
||||
* @since 4.1
|
||||
@@ -321,7 +321,7 @@ public class MvcUriComponentsBuilder {
|
||||
* @param builder the builder for the base URL; the builder will be cloned
|
||||
* and therefore not modified and may be re-used for further calls.
|
||||
* @param name the mapping name
|
||||
* @return a builder to to prepare the URI String
|
||||
* @return a builder to prepare the URI String
|
||||
* @throws IllegalArgumentException if the mapping name is not found or
|
||||
* if there is no unique match
|
||||
* @since 4.2
|
||||
|
||||
@@ -198,7 +198,7 @@ public abstract class RequestContextUtils {
|
||||
* <p>Consider using {@link org.springframework.context.i18n.LocaleContextHolder#getTimeZone()}
|
||||
* which will normally be populated with the same TimeZone: That method only
|
||||
* differs in terms of its fallback to the system time zone if the LocaleResolver
|
||||
* hasn't provided provided a specific time zone (instead of this method's {@code null}).
|
||||
* hasn't provided a specific time zone (instead of this method's {@code null}).
|
||||
* @param request current HTTP request
|
||||
* @return the current time zone for the given request, either from the
|
||||
* TimeZoneAwareLocaleResolver or {@code null} if none associated
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.web.bind.WebDataBinder;
|
||||
* the bound {@link Collection}.
|
||||
* <h3>Approach Three</h3>
|
||||
* For any other bound value type, the '{@code input(checkbox)}' is marked as 'checked'
|
||||
* if the the configured {@link #setValue(Object) value} is equal to the bound value.
|
||||
* if the configured {@link #setValue(Object) value} is equal to the bound value.
|
||||
*
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
|
||||
@@ -54,7 +54,7 @@ public class GroovyMarkupView extends AbstractTemplateView {
|
||||
|
||||
/**
|
||||
* Set the MarkupTemplateEngine to use in this view.
|
||||
* <p>If not set, the engine is auto-detected by looking up up a single
|
||||
* <p>If not set, the engine is auto-detected by looking up a single
|
||||
* {@link GroovyMarkupConfig} bean in the web application context and using
|
||||
* it to obtain the configured {@code MarkupTemplateEngine} instance.
|
||||
* @see GroovyMarkupConfig
|
||||
|
||||
@@ -170,7 +170,7 @@ public class JasperReportsMultiFormatView extends AbstractJasperReportsView {
|
||||
|
||||
String format = (String) model.get(this.formatKey);
|
||||
if (format == null) {
|
||||
throw new IllegalArgumentException("No format format found in model");
|
||||
throw new IllegalArgumentException("No format found in model");
|
||||
}
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
|
||||
@@ -55,7 +55,7 @@ import org.springframework.web.servlet.view.AbstractUrlBasedView;
|
||||
* An {@link AbstractUrlBasedView} subclass designed to run any template library
|
||||
* based on a JSR-223 script engine.
|
||||
*
|
||||
* <p>If not set, each property is auto-detected by looking up up a single
|
||||
* <p>If not set, each property is auto-detected by looking up a single
|
||||
* {@link ScriptTemplateConfig} bean in the web application context and using
|
||||
* it to obtain the configured properties.
|
||||
*
|
||||
|
||||
@@ -126,7 +126,7 @@ public class PathMatchingUrlHandlerMappingTests {
|
||||
hec = getHandler(req);
|
||||
assertTrue("Handler is correct bean", hec != null && hec.getHandler() == bean);
|
||||
|
||||
// should match because because exact pattern is there
|
||||
// should match because exact pattern is there
|
||||
req = new MockHttpServletRequest("GET", "/administrator/another/bla.xml");
|
||||
hec = getHandler(req);
|
||||
assertTrue("Handler is correct bean", hec != null && hec.getHandler() == bean);
|
||||
|
||||
@@ -133,7 +133,7 @@ public class ServletInvocableHandlerMethodTests {
|
||||
ServletInvocableHandlerMethod handlerMethod = getHandlerMethod(new Handler(), "responseStatusWithReason");
|
||||
handlerMethod.invokeAndHandle(this.webRequest, this.mavContainer);
|
||||
|
||||
assertTrue("When a status reason w/ used, the the request is handled", this.mavContainer.isRequestHandled());
|
||||
assertTrue("When a status reason w/ used, the request is handled", this.mavContainer.isRequestHandled());
|
||||
assertEquals(HttpStatus.BAD_REQUEST.value(), this.response.getStatus());
|
||||
assertEquals("400 Bad Request", this.response.getErrorMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user