From a2c0526b40b3b969d34f21b45a4ce56cc38810b8 Mon Sep 17 00:00:00 2001 From: charitha Date: Mon, 10 Oct 2016 15:34:18 +0530 Subject: [PATCH] Fix typo --- .../mgt/core/service/GroupManagementProviderServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceImpl.java index 1753f9696a..d4f462b1bc 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/service/GroupManagementProviderServiceImpl.java @@ -392,7 +392,7 @@ public class GroupManagementProviderServiceImpl implements GroupManagementProvid rolesToAdd.add(roleNamePrefix + role); } } else { - throw new RoleDoesNotExistException("Role '" + role + "' is not exists iin requested group."); + throw new RoleDoesNotExistException("Role '" + role + "' is not exists in requested group."); } } for (String role : currentUserRoles) { @@ -401,7 +401,7 @@ public class GroupManagementProviderServiceImpl implements GroupManagementProvid rolesToRemove.add(roleNamePrefix + role); } } else { - throw new RoleDoesNotExistException("Role '" + role + "' is not exists iin requested group."); + throw new RoleDoesNotExistException("Role '" + role + "' is not exists in requested group."); } } userStoreManager.updateRoleListOfUser(username,