Consistently use tabs rather than spaces
Update code that has accidentally used spaces instead of tabs. Also remove all trailing whitespace. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
be85bd8e09
commit
5cedd0d5d4
@@ -214,7 +214,7 @@ class ResourcesBeanDefinitionParser implements BeanDefinitionParser {
|
||||
else {
|
||||
cacheControl = CacheControl.empty();
|
||||
}
|
||||
|
||||
|
||||
if ("true".equals(element.getAttribute("must-revalidate"))) {
|
||||
cacheControl = cacheControl.mustRevalidate();
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class ViewMethodReturnValueHandler implements HandlerMethodReturnValueHan
|
||||
public void handleReturnValue(@Nullable Object returnValue, MethodParameter returnType,
|
||||
ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception {
|
||||
|
||||
if (returnValue instanceof View){
|
||||
if (returnValue instanceof View){
|
||||
View view = (View) returnValue;
|
||||
mavContainer.setView(view);
|
||||
if (view instanceof SmartView && ((SmartView) view).isRedirectView()) {
|
||||
|
||||
@@ -465,7 +465,7 @@ public class DefaultHandlerExceptionResolver extends AbstractHandlerExceptionRes
|
||||
protected ModelAndView handleMethodArgumentNotValidException(MethodArgumentNotValidException ex,
|
||||
HttpServletRequest request, HttpServletResponse response, @Nullable Object handler) throws IOException {
|
||||
|
||||
response.sendError(HttpServletResponse.SC_BAD_REQUEST);
|
||||
response.sendError(HttpServletResponse.SC_BAD_REQUEST);
|
||||
return new ModelAndView();
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ import org.springframework.web.servlet.support.BindStatus;
|
||||
* </tr>
|
||||
* </tbody>
|
||||
* </table>
|
||||
*
|
||||
*
|
||||
* @author Rod Johnson
|
||||
* @author Juergen Hoeller
|
||||
* @see #setPath
|
||||
@@ -131,14 +131,14 @@ public class BindTag extends HtmlEscapingAwareTag implements EditorAwareTag {
|
||||
* Default is to not ignore.
|
||||
*/
|
||||
public void setIgnoreNestedPath(boolean ignoreNestedPath) {
|
||||
this.ignoreNestedPath = ignoreNestedPath;
|
||||
this.ignoreNestedPath = ignoreNestedPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return whether to ignore a nested path, if any.
|
||||
*/
|
||||
public boolean isIgnoreNestedPath() {
|
||||
return this.ignoreNestedPath;
|
||||
return this.ignoreNestedPath;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ public abstract class AbstractView extends WebApplicationObjectSupport implement
|
||||
|
||||
@Nullable
|
||||
private Set<String> exposedContextBeanNames;
|
||||
|
||||
|
||||
@Nullable
|
||||
private String beanName;
|
||||
|
||||
|
||||
@@ -346,7 +346,7 @@ public class RedirectView extends AbstractUrlBasedView implements SmartView {
|
||||
targetUrl = replaceUriTemplateVariables(targetUrl.toString(), model, variables, enc);
|
||||
}
|
||||
if (isPropagateQueryProperties()) {
|
||||
appendCurrentQueryParams(targetUrl, request);
|
||||
appendCurrentQueryParams(targetUrl, request);
|
||||
}
|
||||
if (this.exposeModelAttributes) {
|
||||
appendQueryProperties(targetUrl, model, enc);
|
||||
|
||||
Reference in New Issue
Block a user