From 29b78a447ed2ff640ff7bc6ea60b6e326f9bd9e7 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 19 Jul 2023 17:16:53 +0200 Subject: [PATCH] GH-206 - Polishing. Javadoc in CompletableEventPublication. --- .../modulith/events/CompletableEventPublication.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/CompletableEventPublication.java b/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/CompletableEventPublication.java index 63a7eac0..bcc2d247 100644 --- a/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/CompletableEventPublication.java +++ b/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/CompletableEventPublication.java @@ -34,9 +34,9 @@ public interface CompletableEventPublication extends EventPublication { Optional getCompletionDate(); /** - * Returns whether the publication o + * Returns whether the publication of the event has completed. * - * @return + * @return will never be {@literal null}. */ default boolean isPublicationCompleted() { return getCompletionDate().isPresent(); @@ -45,7 +45,7 @@ public interface CompletableEventPublication extends EventPublication { /** * Marks the event publication as completed. * - * @return + * @return will never be {@literal null}. */ CompletableEventPublication markCompleted();