From 02bed0a34bb21fb1414d5bb99d70fa1e75662605 Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Thu, 1 Sep 2016 17:01:12 +0200 Subject: [PATCH] Polishing --- .../java/org/springframework/http/codec/ServerSentEvent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java index 9f24bd6490d..35f3ebb165d 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java +++ b/spring-web/src/main/java/org/springframework/http/codec/ServerSentEvent.java @@ -23,7 +23,7 @@ import org.springframework.http.codec.json.Jackson2JsonEncoder; /** * Representation for a Server-Sent Event for use with Spring's reactive Web - * support. {@code Flux} or {@code Observable} is the + * support. {@code Flux} or {@code Observable} is the * reactive equivalent to Spring MVC's {@code SseEmitter}. * * @param the type of data that this event contains @@ -45,6 +45,7 @@ public class ServerSentEvent { private final String comment; + private ServerSentEvent(String id, String event, T data, Duration retry, String comment) { this.id = id; this.event = event;