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 {
191191}
192192
193193dependencies {
194- val elasticsearchVersion = " 8.9 .0"
194+ val elasticsearchVersion = " 8.10 .0"
195195 val jacksonVersion = " 2.13.3"
196196 val openTelemetryVersion = " 1.29.0"
197197
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ publishing {
187187dependencies {
188188 // Compile and test with the last 7.x version to make sure transition scenarios where
189189 // the Java API client coexists with a 7.x HLRC work fine
190- val elasticsearchVersion = " 7.17.7 "
190+ val elasticsearchVersion = " 8.10.0 "
191191 val jacksonVersion = " 2.13.3"
192192 val openTelemetryVersion = " 1.29.0"
193193
Original file line number Diff line number Diff line change @@ -47,13 +47,10 @@ public class SafeResponseConsumer<T> implements HttpAsyncResponseConsumer<T> {
4747 /**
4848 * Same as {@code RequestOptions.DEFAULT} with a safe consumer factory
4949 */
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 ();
5754
5855 public SafeResponseConsumer (HttpAsyncResponseConsumer <T > delegate ) {
5956 this .delegate = delegate ;
You can’t perform that action at this time.
0 commit comments