Skip to content

Commit a11222f

Browse files
committed
Polishing
1 parent 7de8d81 commit a11222f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

spring-web/src/main/java/org/springframework/http/client/reactive/JettyHeadersAdapter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -170,7 +170,6 @@ public Set<Entry<String, List<String>>> entrySet() {
170170
public Iterator<Entry<String, List<String>>> iterator() {
171171
return new EntryIterator();
172172
}
173-
174173
@Override
175174
public int size() {
176175
return headers.size();

spring-web/src/main/java/org/springframework/http/server/reactive/JettyHeadersAdapter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -170,7 +170,6 @@ public Set<Entry<String, List<String>>> entrySet() {
170170
public Iterator<Entry<String, List<String>>> iterator() {
171171
return new EntryIterator();
172172
}
173-
174173
@Override
175174
public int size() {
176175
return headers.size();

spring-webflux/src/main/java/org/springframework/web/reactive/socket/adapter/AbstractListenerWebSocketSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
/**
4444
* Base class for {@link WebSocketSession} implementations that bridge between
45-
* event-listener WebSocket APIs (e.g. Java WebSocket API JSR-356, Jetty,
45+
* event-listener WebSocket APIs (e.g. Java WebSocket API (JSR-356), Jetty,
4646
* Undertow) and Reactive Streams.
4747
*
4848
* <p>Also implements {@code Subscriber<Void>} so it can be used to subscribe to

spring-webflux/src/main/java/org/springframework/web/reactive/socket/client/TomcatWebSocketClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,14 +27,15 @@
2727
import org.springframework.web.reactive.socket.adapter.TomcatWebSocketSession;
2828

2929
/**
30-
* {@link WebSocketClient} implementation for use with the Java WebSocket API.
30+
* {@link WebSocketClient} implementation for use with Tomcat,
31+
* based on the Java WebSocket API.
3132
*
3233
* @author Violeta Georgieva
3334
* @since 5.0
35+
* @see StandardWebSocketClient
3436
*/
3537
public class TomcatWebSocketClient extends StandardWebSocketClient {
3638

37-
3839
public TomcatWebSocketClient() {
3940
this(new WsWebSocketContainer());
4041
}

0 commit comments

Comments
 (0)