Fix malformed javadoc

This commit is contained in:
Juergen Hoeller
2023-08-02 01:13:27 +02:00
parent 3b1af692cc
commit 5e26786bab

View File

@@ -36,7 +36,7 @@ import org.springframework.context.PayloadApplicationEvent;
*
* <pre class="code">
* TransactionContextManager.currentContext()
* .map(source -> new PayloadApplicationEvent<>(source, "myPayload"))
* .map(source -> new PayloadApplicationEvent&lt;&gt;(source, "myPayload"))
* .doOnSuccess(this.eventPublisher::publishEvent)
* </pre>
*
@@ -65,7 +65,7 @@ public class TransactionalEventPublisher {
* Publish an event created through the given function which maps the transaction
* source object (the {@link TransactionContext}) to the event instance.
* @param eventCreationFunction a function mapping the source object to the event instance,
* e.g. {@code source -> new PayloadApplicationEvent<>(source, "myPayload")}
* e.g. {@code source -> new PayloadApplicationEvent&lt;&gt;(source, "myPayload")}
* @return the Reactor {@link Mono} for the transactional event publication
*/
public Mono<Void> publishEvent(Function<TransactionContext, ApplicationEvent> eventCreationFunction) {