Skip to content

Commit 29b78a4

Browse files
committed
GH-206 - Polishing.
Javadoc in CompletableEventPublication.
1 parent 303a680 commit 29b78a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/CompletableEventPublication.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public interface CompletableEventPublication extends EventPublication {
3434
Optional<Instant> getCompletionDate();
3535

3636
/**
37-
* Returns whether the publication o
37+
* Returns whether the publication of the event has completed.
3838
*
39-
* @return
39+
* @return will never be {@literal null}.
4040
*/
4141
default boolean isPublicationCompleted() {
4242
return getCompletionDate().isPresent();
@@ -45,7 +45,7 @@ default boolean isPublicationCompleted() {
4545
/**
4646
* Marks the event publication as completed.
4747
*
48-
* @return
48+
* @return will never be {@literal null}.
4949
*/
5050
CompletableEventPublication markCompleted();
5151

0 commit comments

Comments
 (0)