This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch 4_0_X in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_0_X by this push: new 0b043c84b7 Fixing Groovy scripts 0b043c84b7 is described below commit 0b043c84b73c1828939eb2e026bffe8b45e56932 Author: Francesco Chicchiriccò <ilgro...@apache.org> AuthorDate: Wed Jul 23 14:43:30 2025 +0200 Fixing Groovy scripts --- fit/core-reference/src/test/resources/rest/SearchScript.groovy | 2 +- fit/core-reference/src/test/resources/rest/SyncScript.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fit/core-reference/src/test/resources/rest/SearchScript.groovy b/fit/core-reference/src/test/resources/rest/SearchScript.groovy index 576bb513ee..87034d18cf 100644 --- a/fit/core-reference/src/test/resources/rest/SearchScript.groovy +++ b/fit/core-reference/src/test/resources/rest/SearchScript.groovy @@ -106,7 +106,7 @@ case "__ACCOUNT__": ArrayNode nodes = mapper.readTree(response.getEntity()); // beware: this is not enforcing any server-side pagination feature - for (i = offset; i < (limit < nodes.size() ? limit: nodes.size()); i++) { + for (int i = offset; i < (limit < nodes.size() ? limit: nodes.size()); i++) { result.add(buildConnectorObject(nodes.get(i))); } } else { diff --git a/fit/core-reference/src/test/resources/rest/SyncScript.groovy b/fit/core-reference/src/test/resources/rest/SyncScript.groovy index ae073fd54e..90501c0b81 100644 --- a/fit/core-reference/src/test/resources/rest/SyncScript.groovy +++ b/fit/core-reference/src/test/resources/rest/SyncScript.groovy @@ -103,7 +103,7 @@ if (action.equalsIgnoreCase("GET_LATEST_SYNC_TOKEN")) { ArrayNode node = mapper.readTree(response.getEntity()); - for (i = 0; i < node.size(); i++) { + for (int i = 0; i < node.size(); i++) { if (node.get(i).get("deleted").booleanValue()) { result.add([ operation:"DELETE",