From 3c9ab9d3ae8f462b80158c750cf9c643b978ba1d Mon Sep 17 00:00:00 2001 From: LakshikaAthapaththu Date: Wed, 16 Aug 2023 15:51:08 +0530 Subject: [PATCH] Refactoring --- .../identity/scim2/common/listener/SCIMGroupResolver.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/listener/SCIMGroupResolver.java b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/listener/SCIMGroupResolver.java index e6af23a0c..90b353fdb 100644 --- a/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/listener/SCIMGroupResolver.java +++ b/components/org.wso2.carbon.identity.scim2.common/src/main/java/org/wso2/carbon/identity/scim2/common/listener/SCIMGroupResolver.java @@ -42,14 +42,11 @@ import org.wso2.carbon.user.core.model.ExpressionCondition; import org.wso2.carbon.user.core.model.OperationalCondition; import org.wso2.carbon.user.core.util.UserCoreUtil; -import org.wso2.charon3.core.exceptions.CharonException; import org.wso2.charon3.core.schema.SCIMConstants; import org.wso2.charon3.core.utils.AttributeUtil; -import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneOffset; -import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -647,7 +644,6 @@ public boolean addGroup(String displayName, String groupID, LocalDateTime create throw new UserStoreException(String.format("Error occurred while saving the " + "group: %s in tenant: %s", displayName, tenantId), e); } - return true; }