Skip to content

Commit 2850cf2

Browse files
committed
wtf
1 parent afd44a7 commit 2850cf2

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

data/src/main/java/com/microsoft/azure/kusto/data/http/HttpClientProperties.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ public Integer maxIdleTime() {
5656
* {@linkplain #maxKeepAliveTime()}.
5757
*
5858
* @return whether a custom connection keep-alive strategy should be used
59-
*
6059
* @see #maxKeepAliveTime()
6160
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive">Keep-Alive</a>
6261
*/
@@ -85,21 +84,21 @@ public Integer maxConnectionTotal() {
8584
}
8685

8786
/**
88-
* The maximum number of connections the client may keep open at the same time per route.
87+
* Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
8988
*
90-
* @return the maximum number of connections per route
89+
* @return the provider
9190
*/
92-
public Integer maxConnectionRoute() {
93-
return maxConnectionRoute;
91+
public Class<? extends HttpClientProvider> provider() {
92+
return provider;
9493
}
9594

9695
/**
97-
* Gets the HTTP Client Provider used by Azure Core when constructing HTTP Client instances.
96+
* The maximum number of connections the client may keep open at the same time per route.
9897
*
99-
* @return the provider
98+
* @return the maximum number of connections per route
10099
*/
101-
public Class<? extends HttpClientProvider> provider() {
102-
return provider;
100+
public Integer maxConnectionRoute() {
101+
return maxConnectionRoute;
103102
}
104103

105104
/**
@@ -150,7 +149,6 @@ public HttpClientPropertiesBuilder maxIdleTime(Integer maxIdleTime) {
150149
* @param keepAlive set to {@code false} to use a default keep-alive strategy or to {@code true} to use a
151150
* custom one
152151
* @return the builder instance
153-
*
154152
* @see #maxKeepAliveTime(Integer)
155153
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive">Keep-Alive</a>
156154
*/

0 commit comments

Comments
 (0)