Skip to content

Commit 25b4e29

Browse files
committed
Polishing
1 parent a0c0836 commit 25b4e29

File tree

2 files changed

+4
-5
lines changed
  • spring-context/src/main/java/org/springframework/context
  • spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation

2 files changed

+4
-5
lines changed

spring-context/src/main/java/org/springframework/context/Lifecycle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public interface Lifecycle {
5252
/**
5353
* Start this component.
5454
* <p>Should not throw an exception if the component is already running.
55-
* <p>In the case of a container, this will propagate the start signal to all
56-
* components that apply.
55+
* <p>In the case of a container, this will propagate a hard start signal to all
56+
* components that apply, even to non-auto-startup components.
5757
* @see SmartLifecycle#isAutoStartup()
5858
*/
5959
void start();

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ public class SseEmitter extends ResponseBodyEmitter {
4646

4747
private static final MediaType TEXT_PLAIN = new MediaType("text", "plain", StandardCharsets.UTF_8);
4848

49-
/**
50-
* Guards access to write operations on the response.
51-
*/
49+
/** Guards access to write operations on the response. */
5250
private final Lock writeLock = new ReentrantLock();
5351

52+
5453
/**
5554
* Create a new SseEmitter instance.
5655
*/

0 commit comments

Comments
 (0)