Polishing

(cherry picked from commit c873a597c7)
This commit is contained in:
Juergen Hoeller
2023-07-12 19:21:44 +02:00
parent e1e7fa489b
commit 53319381d0
2 changed files with 20 additions and 20 deletions

View File

@@ -367,7 +367,7 @@ public class ApplicationListenerMethodAdapter implements GenericApplicationListe
* Return the target bean instance to use.
*/
protected Object getTargetBean() {
Assert.notNull(this.applicationContext, "ApplicationContext must no be null");
Assert.notNull(this.applicationContext, "ApplicationContext must not be null");
return this.applicationContext.getBean(this.beanName);
}