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) {
|
public ReplaceOverride(String methodName, String methodReplacerBeanName) {
|
||||||
super(methodName);
|
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;
|
this.methodReplacerBeanName = methodReplacerBeanName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,6 @@ public final class WebHttpHandlerBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateFilters() {
|
private void updateFilters() {
|
||||||
|
|
||||||
if (this.filters.isEmpty()) {
|
if (this.filters.isEmpty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -349,7 +348,6 @@ public final class WebHttpHandlerBuilder {
|
||||||
* Build the {@link HttpHandler}.
|
* Build the {@link HttpHandler}.
|
||||||
*/
|
*/
|
||||||
public HttpHandler build() {
|
public HttpHandler build() {
|
||||||
|
|
||||||
WebHandler decorated = new FilteringWebHandler(this.webHandler, this.filters);
|
WebHandler decorated = new FilteringWebHandler(this.webHandler, this.filters);
|
||||||
decorated = new ExceptionHandlingWebHandler(decorated, this.exceptionHandlers);
|
decorated = new ExceptionHandlingWebHandler(decorated, this.exceptionHandlers);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue