diff --git a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/dao/IdPManagementFacade.java b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/dao/IdPManagementFacade.java index 8c791c492851..0ec49882dacf 100644 --- a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/dao/IdPManagementFacade.java +++ b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/dao/IdPManagementFacade.java @@ -206,7 +206,7 @@ public void deleteIdPs(int tenantId) throws IdentityProviderManagementException deleteEndpointConfig(idp, IdentityTenantUtil.getTenantDomain(tenantId)); } } catch (IdentityProviderManagementException e) { - // Error will not be thrown, since the IDPs is already deleted. But there will be stale actions. + // Error will not be thrown, since the IdPs is already deleted. But there will be stale actions. LOG.warn(IdPManagementConstants.WarningMessage.WARN_STALE_IDP_ACTIONS); } } diff --git a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java index 9debd70dcce6..4ec8f632a049 100644 --- a/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java +++ b/components/idp-mgt/org.wso2.carbon.idp.mgt/src/main/java/org/wso2/carbon/idp/mgt/util/IdPManagementConstants.java @@ -606,9 +606,9 @@ public static class SQLQueries { public static class WarningMessage { - public static final String WARN_STALE_IDP_ACTION = "The %s Identity Provider was deleted, but an error " + + public static final String WARN_STALE_IDP_ACTION = "The Identity Provider: %s is deleted, but an error " + "occurred while deleting its associated action."; - public static final String WARN_STALE_IDP_ACTIONS = "The Identity Providers was deleted, but an error " + + public static final String WARN_STALE_IDP_ACTIONS = "Identity Providers are deleted, but an error " + "occurred while deleting their associated actions."; }