Polishing

This commit is contained in:
Juergen Hoeller
2023-07-12 19:21:44 +02:00
parent 4dc93bc485
commit c873a597c7
2 changed files with 20 additions and 20 deletions

View File

@@ -371,7 +371,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);
}