fix: correct typo (#2430)

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
This commit is contained in:
YongHwan
2023-01-06 17:21:22 +09:00
committed by GitHub
parent 6205f7dd82
commit acf55c934f
5 changed files with 10 additions and 10 deletions
@@ -29,9 +29,9 @@ import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* The {@link UserCreatedEvent} should should be dispatched whenever a user has been created. This
* class can be extended to contain details about the user has been created. In this example, the
* entire {@link User} object is passed on as data with the event.
* The {@link UserCreatedEvent} should be dispatched whenever a user has been created.
* This class can be extended to contain details about the user has been created.
* In this example, the entire {@link User} object is passed on as data with the event.
*/
@RequiredArgsConstructor
@Getter
@@ -29,9 +29,9 @@ import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* The {@link UserUpdatedEvent} should should be dispatched whenever a user has been updated. This
* class can be extended to contain details about the user has been updated. In this example, the
* entire {@link User} object is passed on as data with the event.
* The {@link UserUpdatedEvent} should be dispatched whenever a user has been updated.
* This class can be extended to contain details about the user has been updated.
* In this example, the entire {@link User} object is passed on as data with the event.
*/
@RequiredArgsConstructor
@Getter
@@ -53,7 +53,7 @@ public class EventDispatcher {
}
/**
* Dispatches an {@link Event} depending on it's type.
* Dispatches an {@link Event} depending on its type.
*
* @param event The {@link Event} to be dispatched
*/
@@ -65,4 +65,4 @@ public class EventDispatcher {
}
}
}
}
@@ -34,7 +34,7 @@ public interface Handler<E extends Event> {
/**
* The onEvent method should implement and handle behavior related to the event. This can be as
* simple as calling another service to handle the event on publishing the event on a queue to be
* simple as calling another service to handle the event on publishing the event in a queue to be
* consumed by other sub systems.
*
* @param event the {@link Event} object to be handled.
@@ -35,7 +35,7 @@ class AppTest {
/**
* Issue: Add at least one assertion to this test case.
*
* <p>
* Solution: Inserted assertion to check whether the execution of the main method in {@link App#main(String[])}
* throws an exception.
*/