Fix Checkstyle violations
See gh-23784
This commit is contained in:
@@ -295,9 +295,11 @@ public class ApplicationListenerMethodAdapter implements GenericApplicationListe
|
||||
@Nullable
|
||||
protected Object doInvoke(Object... args) {
|
||||
Object bean = getTargetBean();
|
||||
// Detect package-protected NullBean instance through equals(null) check
|
||||
if (bean.equals(null)) {
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
ReflectionUtils.makeAccessible(this.method);
|
||||
try {
|
||||
return this.method.invoke(bean, args);
|
||||
|
||||
Reference in New Issue
Block a user