diff --git a/src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java b/src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java index d09dc482..c459b68e 100644 --- a/src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java +++ b/src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java @@ -3,6 +3,7 @@ package org.springframework.cloud.client.discovery; import org.springframework.context.ApplicationEvent; /** + * Event to be published after the local service instance registers itself with a discovery service * @author Spencer Gibb */ @SuppressWarnings("serial") @@ -10,8 +11,6 @@ public class InstanceRegisteredEvent extends ApplicationEvent { private T config; /** - * Create a new ApplicationEvent. - * * @param source the component that published the event (never {@code null}) * @param config the configuration of the instance */