Skip to content

Commit

Permalink
Merge pull request wso2#218 from bhagyasakalanka/bhagya-review-address
Browse files Browse the repository at this point in the history
Address review comments in old PRs.
  • Loading branch information
AnuradhaSK authored Sep 6, 2021
2 parents 697a5c8 + ff444a6 commit 63cb74b
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -823,10 +823,11 @@ private static boolean isFormatCorrect(String regularExpression, String domainNa
private static void triggerPostTenantDelete(int tenantId, String tenantUuid, String adminUserUuid)
throws StratosException {

for (TenantMgtListener tenantMgtListener : TenantMgtServiceComponent
.getTenantMgtListeners()) {
log.debug("Executing OnPostDelete on Listener Impl Class Name : "
+ tenantMgtListener.getClass().getName());
for (TenantMgtListener tenantMgtListener : TenantMgtServiceComponent.getTenantMgtListeners()) {
if (log.isDebugEnabled()) {
log.debug("Executing OnPostDelete on Listener Impl Class Name: "
+ tenantMgtListener.getClass().getName());
}
tenantMgtListener.onPostDelete(tenantId, tenantUuid, adminUserUuid);
}
}
Expand Down

0 comments on commit 63cb74b

Please sign in to comment.