Browse Source

Fix misspelling of applicationListenerDectector variable

Closes gh-31006
pull/31012/head
xumengqi 2 years ago committed by GitHub
parent
commit
21a007bb15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      spring-context/src/main/java/org/springframework/context/support/ApplicationListenerDetector.java

4
spring-context/src/main/java/org/springframework/context/support/ApplicationListenerDetector.java

@ -115,8 +115,8 @@ class ApplicationListenerDetector implements DestructionAwareBeanPostProcessor,
@Override @Override
public boolean equals(@Nullable Object other) { public boolean equals(@Nullable Object other) {
return (this == other || return (this == other ||
(other instanceof ApplicationListenerDetector applicationListenerDectector && (other instanceof ApplicationListenerDetector applicationListenerDetector &&
this.applicationContext == applicationListenerDectector.applicationContext)); this.applicationContext == applicationListenerDetector.applicationContext));
} }
@Override @Override

Loading…
Cancel
Save