File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
src/main/java/co/elastic/clients/transport/rest_client Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ publishing {
191
191
}
192
192
193
193
dependencies {
194
- val elasticsearchVersion = " 8.9 .0"
194
+ val elasticsearchVersion = " 8.10 .0"
195
195
val jacksonVersion = " 2.13.3"
196
196
val openTelemetryVersion = " 1.29.0"
197
197
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ publishing {
187
187
dependencies {
188
188
// Compile and test with the last 7.x version to make sure transition scenarios where
189
189
// the Java API client coexists with a 7.x HLRC work fine
190
- val elasticsearchVersion = " 7.17.7 "
190
+ val elasticsearchVersion = " 8.10.0 "
191
191
val jacksonVersion = " 2.13.3"
192
192
val openTelemetryVersion = " 1.29.0"
193
193
Original file line number Diff line number Diff line change @@ -47,13 +47,10 @@ public class SafeResponseConsumer<T> implements HttpAsyncResponseConsumer<T> {
47
47
/**
48
48
* Same as {@code RequestOptions.DEFAULT} with a safe consumer factory
49
49
*/
50
- public static final RequestOptions DEFAULT_REQUEST_OPTIONS ;
51
-
52
- static {
53
- RequestOptions .Builder builder = RequestOptions .DEFAULT .toBuilder ();
54
- builder .setHttpAsyncResponseConsumerFactory (DEFAULT_FACTORY );
55
- DEFAULT_REQUEST_OPTIONS = builder .build ();
56
- }
50
+ public static final RequestOptions DEFAULT_REQUEST_OPTIONS = RequestOptions .DEFAULT
51
+ .toBuilder ()
52
+ .setHttpAsyncResponseConsumerFactory (DEFAULT_FACTORY )
53
+ .build ();
57
54
58
55
public SafeResponseConsumer (HttpAsyncResponseConsumer <T > delegate ) {
59
56
this .delegate = delegate ;
You can’t perform that action at this time.
0 commit comments