Polishing

This commit is contained in:
Juergen Hoeller 2020-09-01 10:27:36 +02:00
parent bcdc2503fa
commit d62202f464
2 changed files with 1 additions and 3 deletions

View File

@ -49,7 +49,7 @@ public class ReplaceOverride extends MethodOverride {
*/
public ReplaceOverride(String methodName, String methodReplacerBeanName) {
super(methodName);
Assert.notNull(methodName, "Method replacer bean name must not be null");
Assert.notNull(methodReplacerBeanName, "Method replacer bean name must not be null");
this.methodReplacerBeanName = methodReplacerBeanName;
}

View File

@ -226,7 +226,6 @@ public final class WebHttpHandlerBuilder {
}
private void updateFilters() {
if (this.filters.isEmpty()) {
return;
}
@ -349,7 +348,6 @@ public final class WebHttpHandlerBuilder {
* Build the {@link HttpHandler}.
*/
public HttpHandler build() {
WebHandler decorated = new FilteringWebHandler(this.webHandler, this.filters);
decorated = new ExceptionHandlingWebHandler(decorated, this.exceptionHandlers);