From 74f70aa1a0c197edd68b60800259d9d15da5583c Mon Sep 17 00:00:00 2001 From: thisarawelmilla Date: Mon, 8 Jul 2024 15:35:12 +0530 Subject: [PATCH] Improve tenant qualified URL feature. --- .../carbon/identity/scim2/common/impl/SCIMUserManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java index a9d2a7244..edda4ac74 100644 --- a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java +++ b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/impl/SCIMUserManager.java @@ -1903,13 +1903,12 @@ private int calculateOffsetForMultiAttributeFilter(Node node, int offset, String int initialOffset = 1; // Checking the number of matches till the original offset. - int skippedUserCount; boolean paginationRequest = false; Set skippedUsers = getFilteredUsersFromMultiAttributeFiltering(node, initialOffset, offset, sortBy, sortOrder, domainName, paginationRequest); - skippedUserCount = skippedUsers.size(); + int skippedUserCount = skippedUsers.size(); // Calculate the new offset and return return offset - skippedUserCount;