diff --git a/spring-context/src/main/java/org/springframework/context/ApplicationEventPublisher.java b/spring-context/src/main/java/org/springframework/context/ApplicationEventPublisher.java index 30cdd4e4d4..714c7a2902 100644 --- a/spring-context/src/main/java/org/springframework/context/ApplicationEventPublisher.java +++ b/spring-context/src/main/java/org/springframework/context/ApplicationEventPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2023 the original author or authors. + * Copyright 2002-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,7 +52,7 @@ public interface ApplicationEventPublisher { * instance itself. *
For the convenient inclusion of the current transaction context * in a reactive hand-off, consider using - * {@link org.springframework.transaction.reactive.TransactionalEventPublisher#publishEvent(Function)}. + * {@link org.springframework.transaction.reactive.TransactionalEventPublisher#publishEvent(java.util.function.Function)}. * For thread-bound transactions, this is not necessary since the * state will be implicitly available through thread-local storage. * @param event the event to publish