Browse Source

Polishing

pull/35587/head
Juergen Hoeller 3 months ago
parent
commit
bf715ac23e
  1. 1
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitter.java
  2. 1
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/SseEmitter.java

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

@ -94,6 +94,7 @@ public class ResponseBodyEmitter {
/** Guards access to write operations on the response. */ /** Guards access to write operations on the response. */
protected final Lock writeLock = new ReentrantLock(); protected final Lock writeLock = new ReentrantLock();
/** /**
* Create a new ResponseBodyEmitter instance. * Create a new ResponseBodyEmitter instance.
*/ */

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

@ -44,6 +44,7 @@ public class SseEmitter extends ResponseBodyEmitter {
private static final MediaType TEXT_PLAIN = new MediaType("text", "plain", StandardCharsets.UTF_8); private static final MediaType TEXT_PLAIN = new MediaType("text", "plain", StandardCharsets.UTF_8);
/** /**
* Create a new SseEmitter instance. * Create a new SseEmitter instance.
*/ */

Loading…
Cancel
Save