Avoid Java8 API
This commit is contained in:
parent
bf786c3176
commit
e3bb06c878
|
|
@ -131,7 +131,7 @@ public class ApplicationListenerMethodAdapter implements GenericApplicationListe
|
|||
if (declaredEventType == null) {
|
||||
return null;
|
||||
}
|
||||
if (this.method.getParameters().length == 0) {
|
||||
if (this.method.getParameterTypes().length == 0) {
|
||||
return new Object[0];
|
||||
}
|
||||
if (!ApplicationEvent.class.isAssignableFrom(declaredEventType.getRawClass())
|
||||
|
|
|
|||
Loading…
Reference in New Issue