Fix malformed javadoc
This commit is contained in:
@@ -36,7 +36,7 @@ import org.springframework.context.PayloadApplicationEvent;
|
||||
*
|
||||
* <pre class="code">
|
||||
* TransactionContextManager.currentContext()
|
||||
* .map(source -> new PayloadApplicationEvent<>(source, "myPayload"))
|
||||
* .map(source -> new PayloadApplicationEvent<>(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<>(source, "myPayload")}
|
||||
* @return the Reactor {@link Mono} for the transactional event publication
|
||||
*/
|
||||
public Mono<Void> publishEvent(Function<TransactionContext, ApplicationEvent> eventCreationFunction) {
|
||||
|
||||
Reference in New Issue
Block a user