change assert in replaceOverride constructor from methodName to methodReplacerBeanName

This commit is contained in:
tristeza
2020-09-01 01:16:06 +08:00
committed by Juergen Hoeller
parent 603d7e93b9
commit 61311248bf

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;
}