Skip to content

Commit c9573a4

Browse files
committed
Polishing
1 parent 210dd03 commit c9573a4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/ReplaceOverride.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class ReplaceOverride extends MethodOverride {
4848
*/
4949
public ReplaceOverride(String methodName, String methodReplacerBeanName) {
5050
super(methodName);
51-
Assert.notNull(methodName, "Method replacer bean name must not be null");
51+
Assert.notNull(methodReplacerBeanName, "Method replacer bean name must not be null");
5252
this.methodReplacerBeanName = methodReplacerBeanName;
5353
}
5454

spring-web/src/main/java/org/springframework/web/server/adapter/WebHttpHandlerBuilder.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -234,7 +234,6 @@ public WebHttpHandlerBuilder filters(Consumer<List<WebFilter>> consumer) {
234234
}
235235

236236
private void updateFilters() {
237-
238237
if (this.filters.isEmpty()) {
239238
return;
240239
}
@@ -357,7 +356,6 @@ public boolean hasForwardedHeaderTransformer() {
357356
* Build the {@link HttpHandler}.
358357
*/
359358
public HttpHandler build() {
360-
361359
WebHandler decorated = new FilteringWebHandler(this.webHandler, this.filters);
362360
decorated = new ExceptionHandlingWebHandler(decorated, this.exceptionHandlers);
363361

0 commit comments

Comments
 (0)