Polishing

This commit is contained in:
Juergen Hoeller
2020-09-01 10:47:37 +02:00
parent 210dd0392f
commit c9573a4fb6
2 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -234,7 +234,6 @@ public final class WebHttpHandlerBuilder {
}
private void updateFilters() {
if (this.filters.isEmpty()) {
return;
}
@@ -357,7 +356,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);