From 6fd421f83d6c417cd236b23b6580323b86176bfd Mon Sep 17 00:00:00 2001 From: Giglium Date: Sat, 15 Feb 2025 06:50:21 +0100 Subject: [PATCH] fix(java): saveObjects always passing waitForTasks as false --- templates/java/api_helpers.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/java/api_helpers.mustache b/templates/java/api_helpers.mustache index 86f93b7ea50..7bec8d9667a 100644 --- a/templates/java/api_helpers.mustache +++ b/templates/java/api_helpers.mustache @@ -690,7 +690,7 @@ public List saveObjects(String indexName, Iterable objects * the transporter requestOptions. (optional) */ public List saveObjects(String indexName, Iterable objects, boolean waitForTasks, RequestOptions requestOptions) { - return saveObjects(indexName, objects, false, 1000, requestOptions); + return saveObjects(indexName, objects, waitForTasks, 1000, requestOptions); } /**