Browse Source

Polish

pull/5/head
Spencer Gibb 10 years ago
parent
commit
9a73f65129
  1. 3
      src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java

3
src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java

@ -3,6 +3,7 @@ package org.springframework.cloud.client.discovery; @@ -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<T> extends ApplicationEvent { @@ -10,8 +11,6 @@ public class InstanceRegisteredEvent<T> 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
*/

Loading…
Cancel
Save