diff --git a/spring-context/src/main/java/org/springframework/context/Lifecycle.java b/spring-context/src/main/java/org/springframework/context/Lifecycle.java index 81a73fb58d5..12a2d0dd0e5 100644 --- a/spring-context/src/main/java/org/springframework/context/Lifecycle.java +++ b/spring-context/src/main/java/org/springframework/context/Lifecycle.java @@ -52,8 +52,8 @@ public interface Lifecycle { /** * Start this component. *
Should not throw an exception if the component is already running. - *
In the case of a container, this will propagate the start signal to all - * components that apply. + *
In the case of a container, this will propagate a hard start signal to all + * components that apply, even to non-auto-startup components. * @see SmartLifecycle#isAutoStartup() */ void start(); diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java index e7be5eb430f..99f94668d60 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java @@ -46,11 +46,10 @@ public class SseEmitter extends ResponseBodyEmitter { private static final MediaType TEXT_PLAIN = new MediaType("text", "plain", StandardCharsets.UTF_8); - /** - * Guards access to write operations on the response. - */ + /** Guards access to write operations on the response. */ private final Lock writeLock = new ReentrantLock(); + /** * Create a new SseEmitter instance. */