Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
UdeshAthukorala committed Feb 14, 2024
1 parent 7dd2677 commit 267b98c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ public Group getGroup(String id) throws CharonException {
if (retrievedGroup != null && StringUtils.isNotBlank(retrievedGroup.getGroupName())) {
groupName = retrievedGroup.getGroupName();
} else {
// Check weather is this a role.
// Check whether is this a role.
groupName = groupHandler.getGroupName(id);
if (StringUtils.isNotBlank(groupName)) {
return getRoleWithName(groupName);
Expand Down Expand Up @@ -1479,7 +1479,7 @@ public void deleteGroup(String groupId) throws NotFoundException, CharonExceptio
if (retrievedGroup != null && StringUtils.isNotBlank(retrievedGroup.getGroupName())) {
groupName = retrievedGroup.getGroupName();
} else {
// Check weather is this a role.
// Check whether is this a role.
groupName = groupHandler.getGroupName(groupId);
String domainFromName = IdentityUtil.extractDomainFromName(groupName);
if (!isInternalOrApplicationGroup(domainFromName)) {
Expand Down Expand Up @@ -1673,7 +1673,7 @@ private Group getRoleWithName(String roleName) throws CharonException, org.wso2.
IdentitySCIMException {

String domainFromName = IdentityUtil.extractDomainFromName(roleName);
// Check weather is this a role.
// Check whether is this a role.
if (!isInternalOrApplicationGroup(domainFromName)) {
return null;
}
Expand Down

0 comments on commit 267b98c

Please sign in to comment.