Skip to content

Commit 2935060

Browse files
izeyesbrannen
authored andcommitted
Add since declarations for JettyClientHttpConnector constructor change
Closes gh-23128
1 parent 296220f commit 2935060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public JettyClientHttpConnector() {
5757
* Constructor with an {@link JettyResourceFactory} that will manage shared resources.
5858
* @param resourceFactory the {@link JettyResourceFactory} to use
5959
* @param customizer the lambda used to customize the {@link HttpClient}
60-
* @deprecated in favor of {@link JettyClientHttpConnector#JettyClientHttpConnector(HttpClient, JettyResourceFactory)}
60+
* @deprecated as of 5.2, in favor of {@link JettyClientHttpConnector#JettyClientHttpConnector(HttpClient, JettyResourceFactory)}
6161
*/
6262
@Deprecated
6363
public JettyClientHttpConnector(
@@ -80,6 +80,7 @@ public JettyClientHttpConnector(HttpClient httpClient) {
8080
* with the given {@link JettyResourceFactory}.
8181
* @param httpClient the {@link HttpClient} to use
8282
* @param resourceFactory the {@link JettyResourceFactory} to use
83+
* @since 5.2
8384
*/
8485
public JettyClientHttpConnector(HttpClient httpClient,
8586
@Nullable JettyResourceFactory resourceFactory) {

0 commit comments

Comments
 (0)