Resolves checkstyle errors for event-* (#1070)
* Reduces checkstyle errors in event-aggregator * Reduces checkstyle errors in event-asynchronous * Reduces checkstyle errors in event-driven-architecture * Reduces checkstyle errors in event-queue * Reduces checkstyle errors in event-sourcing
This commit is contained in:
committed by
Ilkka Seppälä
parent
7c888e8886
commit
5ae2ce6e2e
@@ -23,12 +23,12 @@
|
||||
|
||||
package com.iluwatar.eda.event;
|
||||
|
||||
import com.iluwatar.eda.framework.EventDispatcher;
|
||||
import com.iluwatar.eda.framework.Event;
|
||||
import com.iluwatar.eda.framework.EventDispatcher;
|
||||
|
||||
/**
|
||||
* The {@link AbstractEvent} class serves as a base class for defining custom events happening with your
|
||||
* system. In this example we have two types of events defined.
|
||||
* The {@link AbstractEvent} class serves as a base class for defining custom events happening with
|
||||
* your system. In this example we have two types of events defined.
|
||||
* <ul>
|
||||
* <li>{@link UserCreatedEvent} - used when a user is created</li>
|
||||
* <li>{@link UserUpdatedEvent} - used when a user is updated</li>
|
||||
@@ -38,9 +38,8 @@ import com.iluwatar.eda.framework.Event;
|
||||
public abstract class AbstractEvent implements Event {
|
||||
|
||||
/**
|
||||
* Returns the event type as a {@link Class} object
|
||||
* In this example, this method is used by the {@link EventDispatcher} to
|
||||
* dispatch events depending on their type.
|
||||
* Returns the event type as a {@link Class} object In this example, this method is used by the
|
||||
* {@link EventDispatcher} to dispatch events depending on their type.
|
||||
*
|
||||
* @return the AbstractEvent type as a {@link Class}.
|
||||
*/
|
||||
|
@@ -26,9 +26,9 @@ package com.iluwatar.eda.event;
|
||||
import com.iluwatar.eda.model.User;
|
||||
|
||||
/**
|
||||
* 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 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.
|
||||
*/
|
||||
public class UserCreatedEvent extends AbstractEvent {
|
||||
|
||||
|
@@ -26,9 +26,9 @@ package com.iluwatar.eda.event;
|
||||
import com.iluwatar.eda.model.User;
|
||||
|
||||
/**
|
||||
* 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 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.
|
||||
*/
|
||||
public class UserUpdatedEvent extends AbstractEvent {
|
||||
|
||||
|
Reference in New Issue
Block a user