Polishing
This commit is contained in:
parent
bcdc2503fa
commit
d62202f464
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue