Skip to content

Commit

Permalink
chore(warnings): Clean up some compilation warnings (#3856)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
marchello2000 and mergify[bot] committed Aug 17, 2020
1 parent ff78f1c commit 0505094
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class DelegatingApplicationEventMulticaster(
private val asyncApplicationEventMulticaster: ApplicationEventMulticaster
) : ApplicationEventMulticaster, BeanFactoryAware, BeanClassLoaderAware {

override fun multicastEvent(event: ApplicationEvent?) {
override fun multicastEvent(event: ApplicationEvent) {
asyncApplicationEventMulticaster.multicastEvent(event)
syncApplicationEventMulticaster.multicastEvent(event)
}

override fun multicastEvent(event: ApplicationEvent?, eventType: ResolvableType?) {
override fun multicastEvent(event: ApplicationEvent, eventType: ResolvableType?) {
asyncApplicationEventMulticaster.multicastEvent(event, eventType)
syncApplicationEventMulticaster.multicastEvent(event, eventType)
}
Expand Down Expand Up @@ -83,7 +83,7 @@ class DelegatingApplicationEventMulticaster(
asyncApplicationEventMulticaster.removeApplicationListenerBean(listenerBeanName)
}

override fun setBeanFactory(beanFactory: BeanFactory?) {
override fun setBeanFactory(beanFactory: BeanFactory) {
if (asyncApplicationEventMulticaster is BeanFactoryAware) {
asyncApplicationEventMulticaster.setBeanFactory(beanFactory)
}
Expand All @@ -92,7 +92,7 @@ class DelegatingApplicationEventMulticaster(
}
}

override fun setBeanClassLoader(classLoader: ClassLoader?) {
override fun setBeanClassLoader(classLoader: ClassLoader) {
if (asyncApplicationEventMulticaster is BeanClassLoaderAware) {
asyncApplicationEventMulticaster.setBeanClassLoader(classLoader)
}
Expand Down

0 comments on commit 0505094

Please sign in to comment.